Jelajahi Sumber

fix build for arch without threads

Waldemar Brodkorb 8 tahun lalu
induk
melakukan
38eddf808f
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  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"