summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 21:41:51 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-09 21:42:00 +0200
commit38eddf808f57197796222cd6d6f9b2f72922e2a3 (patch)
tree5e56700401805e3d23bc930e50acee3843d3e8b9 /target
parent7de10e61ce5c9f2417ec154c9d605692c3c09d9a (diff)
fix build for arch without threads
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.libc5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/config/Config.in.libc b/target/config/Config.in.libc
index 3b4b12f26..2ab50df9c 100644
--- a/target/config/Config.in.libc
+++ b/target/config/Config.in.libc
@@ -194,15 +194,14 @@ endchoice
choice
prompt "Threading"
-depends on ADK_TARGET_SUPPORTS_THREADS
config ADK_TARGET_WITH_NPTL
bool "enable NPTL"
- depends on ADK_TARGET_SUPPORTS_NPTL
+ depends on ADK_TARGET_SUPPORTS_NPTL && ADK_TARGET_SUPPORTS_THREADS
config ADK_TARGET_WITH_LT
bool "enable Linuxthreads"
- depends on ADK_TARGET_SUPPORTS_LT && ADK_TARGET_LIB_UCLIBC_NG
+ depends on ADK_TARGET_SUPPORTS_LT && ADK_TARGET_SUPPORTS_THREADS && ADK_TARGET_LIB_UCLIBC_NG
config ADK_TARGET_WITHOUT_THREADS
bool "disable threads"