OSDN Git Service

Linuxthreads_old and NPTL must be mutually exclusive.
authorCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 20 Feb 2009 14:37:43 +0000 (14:37 -0000)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Fri, 20 Feb 2009 14:37:43 +0000 (14:37 -0000)
TLS support cannot be enabled when using Linuxthreads_old
(at least until Linuxthreads and Linuxthreads_old will not
me merged togheter)

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
extra/Configs/Config.in

index d5742e3..b4d5fce 100644 (file)
@@ -374,7 +374,7 @@ config UCLIBC_HAS_THREADS
 
 config UCLIBC_HAS_TLS
        bool "Thread-Local Storage"
-       depends on UCLIBC_HAS_THREADS
+       depends on UCLIBC_HAS_THREADS && !LINUXTHREADS_OLD
        default n
        help
          If you want to enable TLS support then answer Y.
@@ -402,7 +402,7 @@ config PTHREADS_DEBUG_SUPPORT
 config LINUXTHREADS_OLD
        bool "Use the older (stable) version of linuxthreads"
        default y
-       depends on UCLIBC_HAS_THREADS
+       depends on UCLIBC_HAS_THREADS && !UCLIBC_HAS_THREADS_NATIVE
        help
          There are two versions of linuxthreads.  The older (stable) version
          has been in uClibc for quite a long time but hasn't seen too many