aboutsummaryrefslogtreecommitdiffstats
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
commit80e97b77d6374d15d4de41e1ab38992f0d7d97f4 (patch)
treed53b70f0be4e201602016b649eea70061a649b51
parentaf8a1176051c3aa292df458fcf445b0efcc9c557 (diff)
downloadupstream-80e97b77d6374d15d4de41e1ab38992f0d7d97f4.tar.gz
upstream-80e97b77d6374d15d4de41e1ab38992f0d7d97f4.tar.bz2
upstream-80e97b77d6374d15d4de41e1ab38992f0d7d97f4.zip
add 'OpenWrt-2.0' to gcc version info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3058 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/toolchain/gcc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/toolchain/gcc/Makefile b/openwrt/toolchain/gcc/Makefile
index f6f4acaab63..57debe12b82 100644
--- a/openwrt/toolchain/gcc/Makefile
+++ b/openwrt/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