diff options
Diffstat (limited to 'src/build-data')
-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 |