summaryrefslogtreecommitdiff
path: root/config/libc/uClibc.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-07-27 22:09:38 (GMT)
committerYann E. MORIN <yann.morin.1998@free.fr>2014-07-27 23:23:34 (GMT)
commita394fe49ece3d01c85e65a02774c2cc170c81a54 (patch)
treecc94d5e59af36d14a1bfcefffdce2c833b3dd680 /config/libc/uClibc.in
parentb1f536966b8cae68098d94dbe372fa5054440adb (diff)
libc: libces are responsible for naming their threads implementation
This will help add new implementations, such as the one in musl. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'config/libc/uClibc.in')
-rw-r--r--config/libc/uClibc.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in
index f641a6f..1529642 100644
--- a/config/libc/uClibc.in
+++ b/config/libc/uClibc.in
@@ -11,6 +11,10 @@
## help Highly configurable, thus as feature-rich as you
## help need, without compromising for size.
+config THREADS
+ default "nptl" if THREADS_NATIVE
+ default "linuxthreads" if THREADS_LT
+
if ARCH_FLOAT_SOFTFP
comment "'softfp' ABI and uClibc is not entirely tested in crosstool-NG"
comment "You may experience issues, although it should work just fine"