diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-07-11 14:26:52 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-07-11 14:26:52 +0200 |
commit | 7707f0fb542406fbfe8b1cf6f80ba488a135314a (patch) | |
tree | ae841bc432c3d8341f490796c417affed3b9ef3c /config/libc.in | |
parent | df541a321eff81c6830ecfc5ed74b854cac16b9d (diff) | |
download | crosstool-ng-7707f0fb542406fbfe8b1cf6f80ba488a135314a.tar.gz crosstool-ng-7707f0fb542406fbfe8b1cf6f80ba488a135314a.tar.bz2 crosstool-ng-7707f0fb542406fbfe8b1cf6f80ba488a135314a.zip |
libc: add global threads support option
Diffstat (limited to 'config/libc.in')
-rw-r--r-- | config/libc.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/libc.in b/config/libc.in index 74bdd1a7..58bc320b 100644 --- a/config/libc.in +++ b/config/libc.in @@ -21,13 +21,19 @@ config LIBC_VERSION source "config.gen/libc.in" +config LIBC_SUPPORT_THREADS_ANY + bool + default n + config LIBC_SUPPORT_NPTL bool default n + select LIBC_SUPPORT_THREADS_ANY config LIBC_SUPPORT_LINUXTHREADS bool default n + select LIBC_SUPPORT_THREADS_ANY config THREADS string @@ -45,7 +51,7 @@ choice prompt "Threading implementation to use:" default THREADS_NPTL if LIBC_SUPPORT_NPTL default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL - default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL + default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY config THREADS_NPTL bool |