From 1440a73e88f16d74027dcc506aea4fcd3bafc604 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 13 Jun 2010 22:16:16 +0200 Subject: [PATCH] pcre: - update link time optimization hack --- packages/devel/pcre/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/devel/pcre/build b/packages/devel/pcre/build index fd8728e1b2..c320dbcae3 100755 --- a/packages/devel/pcre/build +++ b/packages/devel/pcre/build @@ -4,10 +4,10 @@ $SCRIPTS/build toolchain -# pcre 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||"` + CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"` + LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"` cd $PKG_BUILD ./configure --host=$TARGET_NAME \