瀏覽代碼

fix build for arch without threads

Waldemar Brodkorb 7 年之前
父節點
當前提交
38eddf808f
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      target/config/Config.in.libc

+ 2 - 3
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"