aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/clang.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc/clang.txt')
-rw-r--r--src/build-data/cc/clang.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 8860a30ba..8e6108d4a 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -36,6 +36,8 @@ westmere -> "-march=corei7 -maes"
</mach_opt>
<mach_abi_linking>
+all -> "-pthread"
+
x86_64 -> "-m64"
mips64 -> "-mabi=64"
s390 -> "-m31"
@@ -44,10 +46,6 @@ sparc32 -> "-m32 -mno-app-regs"
sparc64 -> "-m64 -mno-app-regs"
ppc64 -> "-m64"
-# This should probably be used on most/all targets, but the docs are incomplete
-openbsd -> "-pthread"
-freebsd -> "-pthread"
-dragonfly -> "-pthread"
-netbsd -> "-pthread -D_NETBSD_SOURCE"
+netbsd -> "-D_NETBSD_SOURCE"
qnx -> "-fexceptions -D_QNX_SOURCE"
</mach_abi_linking>