aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBi11 <[email protected]>2016-08-10 23:21:18 +0800
committerBi11 <[email protected]>2016-08-10 23:21:18 +0800
commite5c58de1383c9c7a9e4f57d4bd19f1483cdf2fad (patch)
treece8960c0e1597a47c6e125cd7603a150e032b8ca
parent7a297bbdfe6960aae39d1b634dfe6dd44b80432a (diff)
fix compile issue on Mac OS if MACOSX_DEPLOYMENT_TARGET<=10.8
-rw-r--r--src/build-data/cc/clang.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 986eb6267..0e2963665 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -75,5 +75,6 @@ x86_32 -> "-m32"
x86_64 -> "-m64"
ppc64 -> "-m64"
+darwin -> "-stdlib=libc++"
netbsd -> "-D_NETBSD_SOURCE"
</mach_abi_linking>