[Buildroot] buildroot-2010.05-rc2, problem with binutils-2.20.1
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri May 21 22:30:18 UTC 2010
Hello,
(Please keep the Buildroot list in CC)
On Sat, 22 May 2010 00:04:57 +0200
Thomas <tokant at gmx.net> wrote:
> > Could you post the full build log somewhere, with the build
> > restarted from scratch (rm -rf output/ before running make) ?
>
> I uploaded the full build log here:
>
> http://www.file-upload.net/download-2536252/br1005rc2.gz.html
Ok. Could you try the below patch and report the result ? Thanks!
diff --git a/package/Makefile.in b/package/Makefile.in
index 7ac429c..33eeeeb 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -81,7 +81,7 @@ endif
# in $(HOST_DIR)/usr/lib. As we cannot add $(HOST_DIR)/usr/lib to
# LD_LIBRARY_PATH when building target packages because it causes
# libtool breakage, we force a rpath to be added to host binaries.
-HOST_CFLAGS+=-Wl,-rpath -Wl,$(HOST_DIR)/usr/lib
+HOST_LDFLAGS+=-Wl,-rpath -Wl,$(HOST_DIR)/usr/lib
#########################################################################
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list