aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJasmin Jessich <jasmin@anw.at>2015-09-21 23:06:01 +0200
committerJasmin Jessich <jasmin@anw.at>2015-09-22 00:21:36 +0200
commit931248f1aa1cb1edd4b7bdca1b1f725eadea8d6c (patch)
tree7601cc0d5bb785e269def7d983ed218fbadc90ab /config
parentc2f3ec1defb49510afe42f934bd84f380e32f7a6 (diff)
downloadcrosstool-ng-931248f1aa1cb1edd4b7bdca1b1f725eadea8d6c.tar.gz
crosstool-ng-931248f1aa1cb1edd4b7bdca1b1f725eadea8d6c.tar.bz2
crosstool-ng-931248f1aa1cb1edd4b7bdca1b1f725eadea8d6c.zip
Added additional environment variables for gcc build (make) with new option
GCC_EXTRA_ENV_ARRAY. Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Diffstat (limited to 'config')
-rw-r--r--config/cc/gcc.in.210
1 files changed, 10 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index cbad6386..73b6a2f3 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -37,6 +37,16 @@ config CC_GCC_EXTRA_CONFIG_ARRAY
if they are properly quoted (or escaped, but prefer quotes). Eg.:
--with-foo="1st arg with 4 spaces" --with-bar=2nd-arg-without-space
+config CC_GCC_EXTRA_ENV_ARRAY
+ string
+ prompt "Extra env variables to set for make"
+ default ""
+ help
+ Used to add specific env variables on the make command line for the
+ gcc build (eg. INHIBIT_LIBC_CFLAGS='-DUSE_TM_CLONE_REGISTRY=0')
+
+ Leave blank if you don't know better.
+
config STATIC_TOOLCHAIN
select CC_GCC_STATIC_LIBSTDCXX if CC_GCC_4_4_or_later