diff options
author | John Crispin <john@openwrt.org> | 2007-10-07 00:26:02 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-10-07 00:26:02 +0000 |
commit | cfd0fecd47ca970b7deff63c81ad1034b80e5328 (patch) | |
tree | 66dd65f4a2a1c5831ca05cc4666e397d26354915 /toolchain | |
parent | 4af66e8866ff591e6fb93391e3a1204534adeddb (diff) | |
download | mtk-20170518-cfd0fecd47ca970b7deff63c81ad1034b80e5328.zip mtk-20170518-cfd0fecd47ca970b7deff63c81ad1034b80e5328.tar.gz mtk-20170518-cfd0fecd47ca970b7deff63c81ad1034b80e5328.tar.bz2 |
changed the -fhonours-copts gcc patch, such that the function needs to be turned on explicitly
SVN-Revision: 9167
Diffstat (limited to 'toolchain')
4 files changed, 4 insertions, 4 deletions
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 282ded1..a1887ca 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 5d06f80..7d21842 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 439d076..41705cc 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 439d076..41705cc 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') |