projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gcc: fix getenv() patches for 4.4.7 and 4.5-linaro
[openwrt/.git]
/
toolchain
/
gcc
/
patches
/
4.5-linaro
/
920-specs_nonfatal_getenv.patch
diff --git
a/toolchain/gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch
b/toolchain/gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch
index 6fd659c04f4f58bc726edb6c2345401dc88684ec..001088a25c3e2be897acec0ff82d7cb78f38683f 100644
(file)
--- a/
toolchain/gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch
+++ b/
toolchain/gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch
@@
-6,7
+6,7
@@
if (!value)
- fatal ("environment variable \"%s\" not defined", argv[0]);
+ {
-+
warning (0, "
environment variable \"%s\" not defined", argv[0]);
++
error ("warning:
environment variable \"%s\" not defined", argv[0]);
+ value = "";
+ }