diff options
author | Sven Gothel <[email protected]> | 2020-10-16 22:51:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-16 22:51:48 +0200 |
commit | efd4b5a08ec81c7dbbdc0a2573c4a7b54f7e0ab9 (patch) | |
tree | fb3a1ead066011b706dfac432ff31854bd628b13 /.gitignore | |
parent | 14623932cc5a379a5f6b5266cf23963e8a5f824a (diff) |
CMakeLists.txt: Fix setting CMAKE_CXX_FLAGS based on CMAKE_COMPILER_IS_GNUCC and DEBUG
For GCC always enable all Warnings possible, supporting -Werror (Warning == Error).
in DEBUG mode enable '-fstack-protector-strong -fstack-check' and
all non-thread sanitizer: '-fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=undefined -fsanitize=leak'.
Notable: -fsanitize=thread TSAN's lacks ability to properly handle GCC's atomic macros (like helgrind etc), can't check SC-DRF!
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions