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 \