From de20d78f48d0f21b93af6f54c289153bf75c00e9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 14 Jun 2010 01:26:28 +0200 Subject: [PATCH] Python: - update link time optimization hack --- packages/lang/Python/build | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/lang/Python/build b/packages/lang/Python/build index b864060bb9..eb9bee4189 100755 --- a/packages/lang/Python/build +++ b/packages/lang/Python/build @@ -40,10 +40,9 @@ 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||"` +# Fails to compile with GCC's link time optimization. + CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"` + LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"` ac_cv_file__dev_ptmx=no \ ac_cv_file__dev_ptc=no \