aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-08-11 11:00:56 -0400
committerJack Lloyd <[email protected]>2016-08-11 11:00:56 -0400
commita6497c077feec6c12ad9ad0fe9c18fa8166911c7 (patch)
treebc86d23fec5158cca8653c5ce9351e45841ab48e
parent3f4e00b7d856d9176d0332c5eb65b4afa406544f (diff)
parente5c58de1383c9c7a9e4f57d4bd19f1483cdf2fad (diff)
Merge GH #572: Fixes for OS X clang x86-32 build
-rw-r--r--src/build-data/cc/clang.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index df0f38f74..0e2963665 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -61,6 +61,7 @@ altivec -> "-maltivec"
</isa_flags>
<mach_opt>
+x86_32 -> "-march=SUBMODEL"
x86_64 -> "-march=SUBMODEL"
nehalem -> "-march=corei7"
sandybridge -> "-march=corei7-avx"
@@ -70,8 +71,10 @@ ivybridge -> "-march=core-avx-i"
<mach_abi_linking>
all -> "-pthread"
+x86_32 -> "-m32"
x86_64 -> "-m64"
ppc64 -> "-m64"
+darwin -> "-stdlib=libc++"
netbsd -> "-D_NETBSD_SOURCE"
</mach_abi_linking>