mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-21 11:35:20 +00:00
libc: add global threads support option
This commit is contained in:
parent
df541a321e
commit
7707f0fb54
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user