diff options
Diffstat (limited to 'llvm/utils/gn/build/libs/pthread/BUILD.gn')
-rw-r--r-- | llvm/utils/gn/build/libs/pthread/BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/gn/build/libs/pthread/BUILD.gn b/llvm/utils/gn/build/libs/pthread/BUILD.gn index 51e7f1f31fa..7708d314603 100644 --- a/llvm/utils/gn/build/libs/pthread/BUILD.gn +++ b/llvm/utils/gn/build/libs/pthread/BUILD.gn @@ -6,7 +6,8 @@ config("pthread_config") { } group("pthread") { - if (llvm_enable_threads && host_os != "win") { + # On Android, bionic has built-in support for pthreads. + if (llvm_enable_threads && current_os != "win" && current_os != "android") { public_configs = [ ":pthread_config" ] } } |