- disable build with LTO support
This commit is contained in:
Stephan Raue 2010-05-30 22:41:25 +02:00
parent 93d204d99a
commit e9ca36582a

View File

@ -13,6 +13,11 @@ $SCRIPTS/build LVM2
$SCRIPTS/build polkit
$SCRIPTS/build libatasmart
# udisks 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 \