- disable build with LTO support
This commit is contained in:
Stephan Raue 2010-05-30 22:37:39 +02:00
parent 012ab2eafd
commit c87b0f833f

View File

@ -40,11 +40,16 @@ make distclean
setup_toolchain target
# Python 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||"`
ac_cv_file__dev_ptmx=no \
ac_cv_file__dev_ptc=no \
ac_cv_lib_readline_readline=no \
ac_cv_printf_zd_format=no \
OPT="$TARGET_CFLAGS -fno-strict-aliasing" \
OPT="$CFLAGS -fno-strict-aliasing" \
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \