diff options
author | Jack Lloyd <[email protected]> | 2017-12-23 16:07:26 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-23 16:07:26 -0500 |
commit | bf28de2cd2c9abd3db940fcbedeb540eaed0686b (patch) | |
tree | 3651d2dac6c598bff9c641b391bfc352adf9316f /src/build-data/cc | |
parent | ebeae68aba0d3384a00fddde77a561bb0cd88102 (diff) |
Add exceptions to mach_abi_linking groups
Allows avoiding -pthread on Haiku which doesn't support that flag.
(Even though it has pthreads, go figure...)
Diffstat (limited to 'src/build-data/cc')
-rw-r--r-- | src/build-data/cc/clang.txt | 2 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 2 |
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" |