X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches%2F4.6-linaro%2F920-specs_nonfatal_getenv.patch;fp=toolchain%2Fgcc%2Fpatches%2F4.6-linaro%2F920-specs_nonfatal_getenv.patch;h=0000000000000000000000000000000000000000;hb=f17e56eff5b9b4b92b18e6a0b6d4f7a3ccfdc3ae;hp=0b241faf05961734e491eabbf01809effbd01949;hpb=eff245e9a7a3dcb3df3a9d68eaacc07e2bd6e73c;p=openwrt.git diff --git a/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch b/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch deleted file mode 100644 index 0b241faf05..0000000000 --- a/toolchain/gcc/patches/4.6-linaro/920-specs_nonfatal_getenv.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/gcc/gcc.c -+++ b/gcc/gcc.c -@@ -7830,7 +7830,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