gcc: Add GCC 4.6 patches from official openwrt.git toolchain directory.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
This commit is contained in:
Christian Beier
2014-07-08 14:50:05 +02:00
parent a95a32ce4c
commit e1be3f55d8
22 changed files with 1054 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -7772,7 +7772,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