From 3eb74d6830477c2b4f5eea400f290c24cf7e3526 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 14 Jun 2010 01:27:06 +0200 Subject: [PATCH] zlib: - remove link time optimization hack (not more needed) --- packages/compress/zlib/build | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/compress/zlib/build b/packages/compress/zlib/build index 3e6facafd4..ba821d844a 100755 --- a/packages/compress/zlib/build +++ b/packages/compress/zlib/build @@ -4,11 +4,6 @@ $SCRIPTS/build toolchain -# zlib 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 --prefix=/usr \ --libdir=/usr/lib \