diff options
author | lloyd <[email protected]> | 2012-05-25 18:12:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-25 18:12:54 +0000 |
commit | 88160a345b565b38ee497bb92cc3bead8c6d9200 (patch) | |
tree | c6838f840949f5a982b261c6092955244cedee41 /src/build-data/cc/clang.txt | |
parent | 04e95ffea685bae546345fcc41e841397ffad4c4 (diff) |
Always use -pthread with clang, matching gcc behavior
Diffstat (limited to 'src/build-data/cc/clang.txt')
-rw-r--r-- | src/build-data/cc/clang.txt | 8 |
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> |