- remove link time optimization hack (not more needed)
This commit is contained in:
Stephan Raue 2010-06-14 01:27:48 +02:00
parent 0f13fd8c37
commit b2497f9362

View File

@ -4,11 +4,6 @@
$SCRIPTS/build toolchain $SCRIPTS/build toolchain
# LVM2 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 $BUILD/$1* cd $BUILD/$1*
ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_malloc_0_nonnull=yes \
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \