aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt2
-rw-r--r--src/build-data/cc/gcc.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index aaef4357a..c4bfe1961 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -62,7 +62,7 @@ ivybridge -> "-march=core-avx-i"
</mach_opt>
<mach_abi_linking>
-all -> "-pthread"
+all!haiku -> "-pthread"
openmp -> "-fopenmp"
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index ce1f47ae0..4a1b1e913 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -112,7 +112,7 @@ all_x86_64 -> "-momit-leaf-frame-pointer"
# Flags set here are included at compile and link time
<mach_abi_linking>
-all -> "-pthread"
+all!haiku -> "-pthread"
openmp -> "-fopenmp"