- enable LTO support, now it works
This commit is contained in:
Stephan Raue 2010-06-03 16:50:48 +02:00
parent d5aa3e4641
commit b6bde882a4

View File

@ -4,11 +4,6 @@
$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 \