- remove link time optimization hack (not more needed)
This commit is contained in:
Stephan Raue 2010-06-14 01:29:08 +02:00
parent 977a99cf61
commit 1b002904a1

View File

@ -4,11 +4,6 @@
$SCRIPTS/build toolchain
# lirc 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||"`
if [ "$DEBUG" = yes ]; then
DEBUG_CONFIG="--enable-debug"
else