aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-27 18:51:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-27 18:51:42 +0000
commit5e1e4f63d334e8c648c0b237e219e48fe5010c6b (patch)
treea73b077e3014123f2d240d9da64413e33ef107a8 /toolchain
parent0064e30148ca2b44b4179662ad52b4f84340c425 (diff)
downloadupstream-5e1e4f63d334e8c648c0b237e219e48fe5010c6b.tar.gz
upstream-5e1e4f63d334e8c648c0b237e219e48fe5010c6b.tar.bz2
upstream-5e1e4f63d334e8c648c0b237e219e48fe5010c6b.zip
add 'OpenWrt-2.0' to gcc version info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3058 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index f6f4acaab6..57debe12b8 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -79,6 +79,8 @@ ifeq ("$(strip $(ARCH))","armeb")
$(SCRIPT_DIR)/patch-kernel.sh $(GCC_DIR) ./$(GCC_VERSION) arm-softfloat.patch.conditional
endif
endif
+ $(SED) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (OpenWrt-2.0)\2,' $(GCC_DIR)/gcc/version.c
+ $(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:https://dev.openwrt.org/>\2,' $(GCC_DIR)/gcc/version.c
touch $(GCC_DIR)/.patched
# The --without-headers option stopped working with gcc 3.0 and has never been