summaryrefslogtreecommitdiff
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-20 11:43:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-20 11:43:08 +0000
commit9d1b619cb1a7dd18cd12cab0d9f93452b10e2e11 (patch)
treee38f1acd7c3eb0285521329ab91dd6703e15d585 /toolchain/binutils/Makefile
parent20e7ccc3a2bc09194b308b959f44c92648accdf4 (diff)
downloadmtk-20170518-9d1b619cb1a7dd18cd12cab0d9f93452b10e2e11.zip
mtk-20170518-9d1b619cb1a7dd18cd12cab0d9f93452b10e2e11.tar.gz
mtk-20170518-9d1b619cb1a7dd18cd12cab0d9f93452b10e2e11.tar.bz2
binutils: remove linaro version string, it confuses gcc lto support detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43004
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index b88fbd8..820b5f8 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -65,6 +65,7 @@ define Host/Prepare
$(call Host/Prepare/Default)
ln -snf $(notdir $(HOST_BUILD_DIR)) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/
+ $(SED) 's, " Linaro.*,,' $(HOST_BUILD_DIR)/bfd/version.h
endef
define Host/Configure