From 5927d04ba0db9247155ba3fde8bca00bebe17060 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 13 Jun 2010 23:33:17 +0200 Subject: [PATCH] m4: - remove link time optimization hack (no more needed) --- packages/toolchain/devel/m4/build | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/toolchain/devel/m4/build b/packages/toolchain/devel/m4/build index 7680eea3ea..352c6b4fc5 100755 --- a/packages/toolchain/devel/m4/build +++ b/packages/toolchain/devel/m4/build @@ -23,11 +23,6 @@ # build for target setup_toolchain target -# 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||"` - cd $BUILD/$1* mkdir -p .objdir-target cd .objdir-target