diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-05-12 14:56:36 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-06-05 09:27:33 +0200 |
commit | 29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4 (patch) | |
tree | bbe4c5e2b1ffd68de335e2d3454eeac2dd2c9178 /toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch | |
parent | 09ef028e58605d8ff574b3f0f12ec291d477ce97 (diff) | |
download | mtk-20170518-29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4.zip mtk-20170518-29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4.tar.gz mtk-20170518-29e2f9ea5b2eaafc5e184be71cfe915b6f46cee4.tar.bz2 |
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.patch | 15 |
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 dc0acb9..0000000 --- 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 |