From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Sat, 15 Nov 2008 22:20:09 +0100 Subject: [Buildroot] svn commit: trunk/buildroot/package In-Reply-To: <20081111183231.E74AC3C989@busybox.net> (tpetazzoni@uclibc.org's message of "Tue\, 11 Nov 2008 10\:32\:31 -0800 \(PST\)") References: <20081111183231.E74AC3C989@busybox.net> Message-ID: <873ahsfzzq.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "tpetazzoni" == tpetazzoni 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> 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