diff options
-rw-r--r-- | config/cc/gcc.in.2 | 1 | ||||
-rw-r--r-- | config/libc/bionic.in | 4 |
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" |