summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.2.1
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-07 00:26:02 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-07 00:26:02 +0000
commita5d58567566ccbd2b3161e25f1066e60a452b6c2 (patch)
treed2693c7a05319fb1abcee3c78cd9bdd9d08ab072 /toolchain/gcc/patches/4.2.1
parent1d6c40bd4d5f98ee2e378c2ca5b2e9c83e6770cf (diff)
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
Diffstat (limited to 'toolchain/gcc/patches/4.2.1')
-rw-r--r--toolchain/gcc/patches/4.2.1/910-mbsd_multi.patch2
1 files changed, 1 insertions, 1 deletions
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')