From: nbd Date: Fri, 27 Jan 2006 18:51:42 +0000 (+0000) Subject: add 'OpenWrt-2.0' to gcc version info X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=6a25fe644778c1a2a4bc97655a6024eda12215ea add 'OpenWrt-2.0' to gcc version info git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3058 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index f6f4acaab..57debe12b 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\2,' $(GCC_DIR)/gcc/version.c touch $(GCC_DIR)/.patched # The --without-headers option stopped working with gcc 3.0 and has never been