diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-12-12 22:18:52 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-12-12 22:18:52 +0100 |
commit | ccbfef23763ee8781b032fec579324deaba1764f (patch) | |
tree | a9e7c49087c51d194ee766609a588bcb9fb08c58 /config/libc.in | |
parent | a9966d1e1cd95baa4c0400c6248f2fab14e2ba48 (diff) | |
download | crosstool-ng-ccbfef23763ee8781b032fec579324deaba1764f.tar.gz crosstool-ng-ccbfef23763ee8781b032fec579324deaba1764f.tar.bz2 crosstool-ng-ccbfef23763ee8781b032fec579324deaba1764f.zip |
libc: hide no-thread for those C libraries that do not support it
Building non-threaded glibc has been unsupported for a long time, now:
http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html
As eglibc is a spin-off of glibc: ditto.
So do not offer that possibility in the menuconfig.
Thanks to Thomas Petazzoni for spotting, and helping to solve, the issue!
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/libc.in')
-rw-r--r-- | config/libc.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/libc.in b/config/libc.in index f8d9ae90..05ebd6ae 100644 --- a/config/libc.in +++ b/config/libc.in @@ -40,6 +40,10 @@ config LIBC_SUPPORT_WIN32THREADS default n select LIBC_SUPPORT_THREADS_ANY +config LIBC_SUPPORT_THREADS_NONE + bool + default n + config THREADS string default "nptl" if THREADS_NPTL @@ -78,6 +82,7 @@ config THREADS_WIN32THREADS config THREADS_NONE bool prompt "none" + depends on LIBC_SUPPORT_THREADS_NONE endchoice |