- disable build with LTO support
This commit is contained in:
Stephan Raue 2010-05-30 22:36:12 +02:00
parent 7b00f220c4
commit 3b114bd306

View File

@ -4,6 +4,11 @@
$SCRIPTS/build toolchain
# zlib 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 --prefix=/usr \
--libdir=/usr/lib \