diff options
author | John Crispin <blogic@openwrt.org> | 2007-10-07 00:26:02 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2007-10-07 00:26:02 +0000 |
commit | 942c79cf155ba8be0539c01e9936cb71258d07d7 (patch) | |
tree | d2693c7a05319fb1abcee3c78cd9bdd9d08ab072 | |
parent | ceb283be2a6e3eff6fb15ddfbef0563d789d66a7 (diff) | |
download | upstream-942c79cf155ba8be0539c01e9936cb71258d07d7.tar.gz upstream-942c79cf155ba8be0539c01e9936cb71258d07d7.tar.bz2 upstream-942c79cf155ba8be0539c01e9936cb71258d07d7.zip |
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9167 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | rules.mk | 1 | ||||
-rw-r--r-- | toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch | 2 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch | 2 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch | 2 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch | 2 |
5 files changed, 5 insertions, 4 deletions
@@ -63,6 +63,7 @@ TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib export PATH:=$(TARGET_PATH) export STAGING_DIR +export GCC_HONOUR_COPTS:=0 LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux diff --git a/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch b/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch index 282ded139c..a1887ca6d4 100644 --- a/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/3.4.6/910-mbsd_multi.patch @@ -67,7 +67,7 @@ Index: gcc-3.4.6/gcc/c-opts.c + char *ev = getenv ("GCC_HONOUR_COPTS"); + int evv; + if (ev == NULL) -+ evv = 0; ++ evv = -1; + else if ((*ev == '0') || (*ev == '\0')) + evv = 0; + else if (*ev == '1') diff --git a/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch b/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch index 5d06f80c6c..7d21842e48 100644 --- a/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/4.1.2/910-mbsd_multi.patch @@ -67,7 +67,7 @@ Index: gcc-4.1.2/gcc/c-opts.c + char *ev = getenv ("GCC_HONOUR_COPTS"); + int evv; + if (ev == NULL) -+ evv = 0; ++ evv = -1; + else if ((*ev == '0') || (*ev == '\0')) + evv = 0; + else if (*ev == '1') diff --git a/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch b/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch index 439d0762f1..41705cc9ea 100644 --- a/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch @@ -67,7 +67,7 @@ Index: gcc-4.2.0/gcc/c-opts.c + char *ev = getenv ("GCC_HONOUR_COPTS"); + int evv; + if (ev == NULL) -+ evv = 0; ++ evv = -1; + else if ((*ev == '0') || (*ev == '\0')) + evv = 0; + else if (*ev == '1') diff --git a/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch b/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch index 439d0762f1..41705cc9ea 100644 --- a/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch +++ b/toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch @@ -67,7 +67,7 @@ Index: gcc-4.2.0/gcc/c-opts.c + char *ev = getenv ("GCC_HONOUR_COPTS"); + int evv; + if (ev == NULL) -+ evv = 0; ++ evv = -1; + else if ((*ev == '0') || (*ev == '\0')) + evv = 0; + else if (*ev == '1') |