From 42188749f6323223ae34d312951e0214987b7062 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 30 May 2010 22:39:54 +0200 Subject: [PATCH] bash: - disable build with LTO support --- packages/sysutils/bash/build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/sysutils/bash/build b/packages/sysutils/bash/build index c31b207c45..c31ed9973c 100755 --- a/packages/sysutils/bash/build +++ b/packages/sysutils/bash/build @@ -4,11 +4,17 @@ $SCRIPTS/build toolchain +# bash fails to compile with GCC 4.5.0's link time optimization. + CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"` + CXXFLAGS=`echo $CXXFLAGS | 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||"` + cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ --bindir=/bin \ + --with-gnu-ld \ --without-bash-malloc \ --without-installed-readline \