aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-10-07 00:26:02 +0000
committerJohn Crispin <blogic@openwrt.org>2007-10-07 00:26:02 +0000
commit942c79cf155ba8be0539c01e9936cb71258d07d7 (patch)
treed2693c7a05319fb1abcee3c78cd9bdd9d08ab072 /toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch
parentceb283be2a6e3eff6fb15ddfbef0563d789d66a7 (diff)
downloadmaster-187ad058-942c79cf155ba8be0539c01e9936cb71258d07d7.tar.gz
master-187ad058-942c79cf155ba8be0539c01e9936cb71258d07d7.tar.bz2
master-187ad058-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
Diffstat (limited to 'toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch')
-rw-r--r--toolchain/gcc/patches/4.2.0/910-mbsd_multi.patch2
1 files changed, 1 insertions, 1 deletions
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')