diff options
author | Jasmin Jessich <jasmin@anw.at> | 2016-10-15 19:56:23 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-02-21 09:10:22 +0100 |
commit | c8d7d79e20f83e3ca268b0c302263a8c6660bd8a (patch) | |
tree | 93d88978837033505dc54753f5fd869b2953414d /config/cc | |
parent | 21cde9473e8a901c990ccedf25b73c109094694a (diff) | |
download | crosstool-ng-c8d7d79e20f83e3ca268b0c302263a8c6660bd8a.tar.gz crosstool-ng-c8d7d79e20f83e3ca268b0c302263a8c6660bd8a.tar.bz2 crosstool-ng-c8d7d79e20f83e3ca268b0c302263a8c6660bd8a.zip |
Added new gcc config option CC_GCC_CONFIG_TLS
Adding new tristate configuration for TLS (Thread Local Storage) to
add "--enable-tls" (y), "--disable-tls" (n) or nothing (m).
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Diffstat (limited to 'config/cc')
-rw-r--r-- | config/cc/gcc.in.2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index 638bfe93..b4c55283 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -90,6 +90,25 @@ config CC_GCC_SYSTEM_ZLIB If unsure, say 'n'. +config CC_GCC_CONFIG_TLS + tristate + prompt "Configure TLS (Thread Local Storage)" + default m + help + Specify that the target supports TLS (Thread Local Storage). Usually + configure can correctly determine if TLS is supported. In cases where + it guesses incorrectly, TLS can be explicitly enabled or disabled. + This can happen if the assembler supports TLS but the C library does + not, or if the assumptions made by the configure test are incorrect. + + Option | TLS use | Associated ./configure switch + ---------+--------------------+-------------------------------- + Y | forcibly used | --enable-tls + M | auto | (none, ./configure decides) + N | forcibly not used | --disable-tls + + If unsure, say 'M'. + #----------------------------------------------------------------------------- # Optimisation features |