aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"