- remove link time optimization hack (no more needed)
This commit is contained in:
Stephan Raue 2010-06-13 23:33:17 +02:00
parent 62717faf28
commit 5927d04ba0

View File

@ -23,11 +23,6 @@
# build for target
setup_toolchain target
# Fails to compile with GCC's link time optimization.
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
cd $BUILD/$1*
mkdir -p .objdir-target
cd .objdir-target