summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyc <hyc@symas.com>2017-04-26 03:04:07 +0100
committerAlexey Neyman <stilor@att.net>2017-05-14 15:23:34 -0700
commita6e11562c46d9228ad70a84f7f0031b342078944 (patch)
treec7935787103c255dc6b3c5281fc60d79f44f6c71
parent8762c7698cc380d33042fa9e0b8ee9704a842281 (diff)
downloadcrosstool-ng-a6e11562c46d9228ad70a84f7f0031b342078944.tar.gz
crosstool-ng-a6e11562c46d9228ad70a84f7f0031b342078944.tar.bz2
crosstool-ng-a6e11562c46d9228ad70a84f7f0031b342078944.zip
Tweaks for bionic/TLS
-rw-r--r--config/cc/gcc.in.21
-rw-r--r--config/libc/bionic.in4
2 files changed, 4 insertions, 1 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index c147f05e..963cb2a2 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -94,6 +94,7 @@ config CC_GCC_SYSTEM_ZLIB
config CC_GCC_CONFIG_TLS
tristate
prompt "Configure TLS (Thread Local Storage)"
+ depends on !LIBC_bionic
default m
help
Specify that the target supports TLS (Thread Local Storage). Usually
diff --git a/config/libc/bionic.in b/config/libc/bionic.in
index 20697add..b6b7af58 100644
--- a/config/libc/bionic.in
+++ b/config/libc/bionic.in
@@ -5,7 +5,9 @@
##
## select LIBC_SUPPORT_THREADS_POSIX
##
-## help Bionic is the Android C library. It is prebuilt.
+## help Bionic is the Android C library. It is prebuilt, extracted from the Android NDK.
+## help This platform has no TLS (Thread Local Storage) support so that option must be
+## help disabled in the Compiler options.
config THREADS
default "posix"