From 0f13fd8c374e96ad8ec1277049b4865cb49a28d8 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 14 Jun 2010 01:27:35 +0200 Subject: [PATCH] samba: - remove link time optimization hack (not more needed) --- packages/network/samba/build | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/network/samba/build b/packages/network/samba/build index db164ff82f..cb37934bf2 100755 --- a/packages/network/samba/build +++ b/packages/network/samba/build @@ -11,16 +11,6 @@ else SMB_AVAHI="--disable-avahi" fi -# Fails to compile using the gold linker - CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"` - CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"` - LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"` - -# 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||" -e "s|-fwhole-program||"` - export samba_cv_CC_NEGATIVE_ENUM_VALUES=no cd $PKG_BUILD/source3