From d0ac552a77bb295e72fcaccba0920d996adccd09 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 14 Jun 2010 01:28:04 +0200 Subject: [PATCH] grep: - remove link time optimization hack (not more needed) --- packages/sysutils/grep/build | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/sysutils/grep/build b/packages/sysutils/grep/build index 2b74189aa1..b57f6dcac3 100755 --- a/packages/sysutils/grep/build +++ b/packages/sysutils/grep/build @@ -5,14 +5,9 @@ $SCRIPTS/build toolchain $SCRIPTS/build pcre -# grep 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 $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ -make \ No newline at end of file +make