aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-05-12 14:56:36 +0200
committerFelix Fietkau <nbd@nbd.name>2018-06-05 09:27:33 +0200
commit29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4 (patch)
treebbe4c5e2b1ffd68de335e2d3454eeac2dd2c9178 /toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch
parent09ef028e58605d8ff574b3f0f12ec291d477ce97 (diff)
downloadupstream-29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4.tar.gz
upstream-29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4.tar.bz2
upstream-29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4.zip
gcc: remove support for version 6.3.0
It is obsoleted by gcc 7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch')
-rw-r--r--toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch
deleted file mode 100644
index dc0acb95a8..0000000000
--- a/toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -9198,8 +9198,10 @@ getenv_spec_function (int argc, const ch
- value = varname;
-
- if (!value)
-- fatal_error (input_location,
-- "environment variable %qs not defined", varname);
-+ {
-+ warning (input_location, "environment variable %qs not defined", varname);
-+ value = "";
-+ }
-
- /* We have to escape every character of the environment variable so
- they are not interpreted as active spec characters. A