aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-05-30 16:50:22 +0000
committerlloyd <[email protected]>2012-05-30 16:50:22 +0000
commit4c492b36776c4faf0ff1efdce918b446bed0da32 (patch)
tree90a019e7810398b4d375f1fcbea6fe0eb5284547 /src/build-data/cc
parenta78a694779c711f9a9f6569e5de88d14527d6885 (diff)
Use libc++ with Clang by default as libstdc++ and Clang don't play
well together in C++11 mode.
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 0a692e9aa..c573eb550 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -36,7 +36,7 @@ westmere -> "-march=corei7 -maes"
</mach_opt>
<mach_abi_linking>
-all -> "-pthread"
+all -> "-stdlib=libc++ -pthread"
x86_64 -> "-m64"
ppc64 -> "-m64"