- dont build with gold linker
This commit is contained in:
Stephan Raue 2010-06-03 16:48:39 +02:00
parent 8c35e570ce
commit 42ce946f76
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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 <<EOF
install_root=$SYSROOT_PREFIX