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