From a6e11562c46d9228ad70a84f7f0031b342078944 Mon Sep 17 00:00:00 2001 From: hyc Date: Wed, 26 Apr 2017 03:04:07 +0100 Subject: Tweaks for bionic/TLS diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index c147f05..963cb2a 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 20697ad..b6b7af5 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" -- cgit v0.10.2-6-g49f6