Browse Source

Linuxthreads_old and NPTL must be mutually exclusive.

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>
Carmelo Amoroso 16 years ago
parent
commit
548c2c5b15
1 changed files with 2 additions and 2 deletions
  1. 2 2
      extra/Configs/Config.in

+ 2 - 2
extra/Configs/Config.in

@@ -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