aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/clang.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-03-13 22:44:06 +0000
committerlloyd <[email protected]>2014-03-13 22:44:06 +0000
commitb4407e3d2191a166dfd0e71006180431726f3fc6 (patch)
tree1b62db53c66724621a7d109876d39e7837523dff /src/build-data/cc/clang.txt
parent266d6a1bccc878d1213cd4e30ce0291b291ec2ae (diff)
Let Clang choose whichever C++ library it prefers
Diffstat (limited to 'src/build-data/cc/clang.txt')
-rw-r--r--src/build-data/cc/clang.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index c05d846b8..85c080155 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -10,8 +10,8 @@ add_lib_option -l
lang_flags "-std=c++11 -D_REENTRANT -fstack-protector"
-warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast"
-maintainer_warning_flags "-Qunused-arguments -Werror -Wno-error=old-style-cast -Wno-error=unused-parameter -Wno-error=unused-variable"
+warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast -Wunreachable-code"
+maintainer_warning_flags "-Qunused-arguments -Werror -Wno-error=old-style-cast -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=unreachable-code"
makefile_style gmake
@@ -53,8 +53,7 @@ ivybridge -> "-march=core-avx-i"
</mach_opt>
<mach_abi_linking>
-#all -> "-stdlib=libc++ -pthread"
-all -> "-stdlib=libstdc++ -pthread"
+all -> "-pthread"
x86_64 -> "-m64"
ppc64 -> "-m64"