[Buildroot] svn commit: trunk/buildroot/package
Peter Korsgaard
jacmet at uclibc.org
Sat Nov 15 21:20:09 UTC 2008
>>>>> "tpetazzoni" == tpetazzoni <tpetazzoni at uclibc.org> writes:
tpetazzoni> Author: tpetazzoni
tpetazzoni> Date: 2008-11-11 10:32:31 -0800 (Tue, 11 Nov 2008)
tpetazzoni> New Revision: 24000
tpetazzoni> Log:
tpetazzoni> Fix external toolchain build
tpetazzoni> This new version fixes a problem encountered by hartleys
tpetazzoni> <hartleys at visionengravers.com> when building the kernel. The problem
tpetazzoni> was that the -Wl,--rpath-link options were added to LDFLAGS, while
tpetazzoni> there are options for the C compiler, not the ld linker. Moving them
tpetazzoni> to CFLAGS seems to fix the issue.
But it makes gcc spit out a bunch of warnings, E.G. for busybox:
CC util-linux/umount.o
i386-linux-uclibc-gcc: --rpath-link: linker input file unused because linking not done
i386-linux-uclibc-gcc: /tmp/br/build_i386/staging_dir/lib: linker input file unused because linking not done
i386-linux-uclibc-gcc: --rpath-link: linker input file unused because linking not done
i386-linux-uclibc-gcc: /tmp/br/build_i386/staging_dir/usr/lib: linker input file unused because linking not done
There must be a better way ..
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list