From 14bb0fc3ab784df09fa54182334a364a32fbc299 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Mon, 1 Jul 2013 12:58:27 +0300 Subject: Add gcc 4.5-linaro temporarily back as 4.6-linaro has issues with usb driver. Signed-off-by: Roman Yeryomin --- .../gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 toolchain/gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch (limited to '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 new file mode 100644 index 000000000..001088a25 --- /dev/null +++ b/toolchain/gcc/patches/4.5-linaro/920-specs_nonfatal_getenv.patch @@ -0,0 +1,14 @@ +--- a/gcc/gcc.c ++++ b/gcc/gcc.c +@@ -8583,7 +8583,10 @@ getenv_spec_function (int argc, const ch + + value = getenv (argv[0]); + if (!value) +- fatal ("environment variable \"%s\" not defined", argv[0]); ++ { ++ error ("warning: environment variable \"%s\" 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 -- cgit v1.2.3