Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155975 - net-ftp/vsftpd does not crosscompile
Summary: net-ftp/vsftpd does not crosscompile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 13:43 UTC by Attila Fazekas
Modified: 2006-11-23 06:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Fazekas 2006-11-22 13:43:20 UTC
(cross emerge, it tried with my "gcc", instead of "arm-softfloat-linux-uclibc-gcc" )
I changed the ebuild, but I think not is the correct way, but worked, for me.

src_compile() {
    if [ "${CC}" == "" ]; then
        emake CFLAGS="${CFLAGS}" || die
    else
        emake CFLAGS="${CFLAGS}" CC="${CC}" || die
    fi
}
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-22 13:54:07 UTC
No, that's not the correct way indeed. The correct way it to use tc-getCC or tc-export CC from toolchain-funcs eclass ;)
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-11-23 06:07:01 UTC
Fixed in vsftpd-2.0.5