- disable build with LTO support
This commit is contained in:
Stephan Raue 2010-05-30 22:36:58 +02:00
parent c812ddf777
commit 4bcfc106a5

View File

@ -18,6 +18,11 @@ cd "$CWD"
setup_toolchain target
# programs based on ncurses (gdb, mysql) 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||"`
$SCRIPTS/build toolchain
cd $PKG_BUILD