aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-10-22 16:15:16 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-23 22:53:33 +0200
commita14544d1bb6f6840dd64c600c58d938b193c09e3 (patch)
tree7cafa4ef4f5e106faf83b3c7dcea86c4cf5ecabb /toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch
parent58b65525f3165792a998fdb24fda11aa4097a7be (diff)
downloadupstream-a14544d1bb6f6840dd64c600c58d938b193c09e3.tar.gz
upstream-a14544d1bb6f6840dd64c600c58d938b193c09e3.tar.bz2
upstream-a14544d1bb6f6840dd64c600c58d938b193c09e3.zip
toolchain: gcc: Remove gcc 8.x support
This compiler is old and not used by OpenWrt for some time now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch')
-rw-r--r--toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch
deleted file mode 100644
index c3836e63af..0000000000
--- a/toolchain/gcc/patches-8.x/920-specs_nonfatal_getenv.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Author: Jo-Philipp Wich <jow@openwrt.org>
-Date: Sat Apr 21 03:02:39 2012 +0000
-
- gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset
-
- SVN-Revision: 31390
-
---- a/gcc/gcc.c
-+++ b/gcc/gcc.c
-@@ -9347,8 +9347,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