From 7a297bbdfe6960aae39d1b634dfe6dd44b80432a Mon Sep 17 00:00:00 2001 From: Bi11 Date: Wed, 10 Aug 2016 15:36:14 +0800 Subject: Fix x86 32-bit building for clang on Mac OS --- src/build-data/cc/clang.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/build-data/cc') diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index df0f38f74..986eb6267 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -61,6 +61,7 @@ altivec -> "-maltivec" +x86_32 -> "-march=SUBMODEL" x86_64 -> "-march=SUBMODEL" nehalem -> "-march=corei7" sandybridge -> "-march=corei7-avx" @@ -70,6 +71,7 @@ ivybridge -> "-march=core-avx-i" all -> "-pthread" +x86_32 -> "-m32" x86_64 -> "-m64" ppc64 -> "-m64" -- cgit v1.2.3