summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-23 10:22:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-05-23 10:22:09 +0000
commit7d3fca89c029b62b869e45cdd30c5556ebefe9f6 (patch)
tree4d10f066655249d2cf813d95496d37da918e489c /toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch
parentba29b8f04f357ef70fe0aa281b5e9952e349f906 (diff)
downloadmtk-20170518-7d3fca89c029b62b869e45cdd30c5556ebefe9f6.zip
mtk-20170518-7d3fca89c029b62b869e45cdd30c5556ebefe9f6.tar.gz
mtk-20170518-7d3fca89c029b62b869e45cdd30c5556ebefe9f6.tar.bz2
gcc: remove version 4.7
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36694
Diffstat (limited to 'toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch')
-rw-r--r--toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch
deleted file mode 100644
index 0f2a870..0000000
--- a/toolchain/gcc/patches/4.7-linaro/920-specs_nonfatal_getenv.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -7814,7 +7814,10 @@ getenv_spec_function (int argc, const ch
-
- value = getenv (argv[0]);
- if (!value)
-- fatal_error ("environment variable %qs not defined", argv[0]);
-+ {
-+ warning (0, "environment variable %qs not defined", argv[0]);
-+ value = "";
-+ }
-
- /* We have to escape every character of the environment variable so
- they are not interpreted as active spec characters. A