diff options
author | lloyd <[email protected]> | 2014-02-09 17:32:11 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-09 17:32:11 +0000 |
commit | 07c80ecfccb9cd594993be001a46a087e70269ed (patch) | |
tree | ab278b21fc4db1896139600c9379f7c9918d5fa5 /src/build-data/cc/clang.txt | |
parent | 313b92a3d352c8f32685a4b56015644b14117c08 (diff) |
Update Clang flags. Remove unneeded includes of init.h
Diffstat (limited to 'src/build-data/cc/clang.txt')
-rw-r--r-- | src/build-data/cc/clang.txt | 7 |
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 |