[Buildroot] buildroot-2010.05-rc2, problem with binutils-2.20.1

Thomas tokant at gmx.net
Sat May 22 08:33:24 UTC 2010


On Sat, 2010-05-22 at 00:30 +0200, Thomas Petazzoni wrote:

> 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)
> 

yes it works :-)

Thanks, Thomas.




More information about the buildroot mailing list