aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-02-09 17:32:11 +0000
committerlloyd <[email protected]>2014-02-09 17:32:11 +0000
commit07c80ecfccb9cd594993be001a46a087e70269ed (patch)
treeab278b21fc4db1896139600c9379f7c9918d5fa5 /src/build-data/cc
parent313b92a3d352c8f32685a4b56015644b14117c08 (diff)
Update Clang flags. Remove unneeded includes of init.h
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 8cbe1a731..c05d846b8 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -8,9 +8,10 @@ add_include_dir_option -I
add_lib_dir_option -L
add_lib_option -l
-lang_flags "-D_REENTRANT -std=c++11"
-maintainer_warning_flags "-Werror"
-warning_flags "-Wextra -Wall"
+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"
makefile_style gmake