From 42ce946f7687a7a2d43014d8d4addbc3cb58d7b4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 3 Jun 2010 16:48:39 +0200 Subject: [PATCH] eglibc: - dont build with gold linker --- packages/toolchain/devel/eglibc/build | 2 +- packages/toolchain/devel/eglibc/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/toolchain/devel/eglibc/build b/packages/toolchain/devel/eglibc/build index da8d44714c..fa8ddf206c 100755 --- a/packages/toolchain/devel/eglibc/build +++ b/packages/toolchain/devel/eglibc/build @@ -10,7 +10,7 @@ export OBJDUMP_FOR_HOST=objdump CFLAGS="-O3 -fno-stack-protector" # eglibc fails to compile with GCC 4.5.0's link time optimization. - LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"` + LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||" -e "s|-fuse-ld=gold||"` if [ "$DEBUG" = yes ]; then DEBUG_CONFIG="--enable-debug" diff --git a/packages/toolchain/devel/eglibc/install b/packages/toolchain/devel/eglibc/install index 61f5f281b9..ef67edb3a9 100755 --- a/packages/toolchain/devel/eglibc/install +++ b/packages/toolchain/devel/eglibc/install @@ -11,7 +11,7 @@ if [ "$2" = toolchain ]; then cd $PKG_BUILD/objdir-$1 # eglibc fails to compile with GCC 4.5.0's link time optimization. - LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"` + LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||" -e "s|-fuse-ld=gold||"` cat >configparms <