aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
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
commit95672f9712d5cf5fd24a52d266e82bf0f4d860ef (patch)
tree801c065c4f163f0696685633075da34abb7f5fd0 /toolchain
parent32189f3e54ae132becca84342f8f9e7b5fd7a126 (diff)
downloadmaster-187ad058-95672f9712d5cf5fd24a52d266e82bf0f4d860ef.tar.gz
master-187ad058-95672f9712d5cf5fd24a52d266e82bf0f4d860ef.tar.bz2
master-187ad058-95672f9712d5cf5fd24a52d266e82bf0f4d860ef.zip
binutils: remove linaro version string, it confuses gcc lto support detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43004 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/binutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index b88fbd8b2c..820b5f8efa 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