cmake: add more hardening compiler flags
authorPetr Štetiar <ynezz@true.cz>
Sat, 7 Dec 2019 21:45:59 +0000 (22:45 +0100)
committerPetr Štetiar <ynezz@true.cz>
Sat, 7 Dec 2019 22:40:02 +0000 (23:40 +0100)
commit66264ed9ec9e13321798061782b255ecb4dd64c2
treeccd7e17a12ef8d21e0cc7009dd79b78ca8dacb8b
parentcca6f105fae201b8cb91c4551a3460028d388a35
cmake: add more hardening compiler flags

In order to spot possible issues with direct impact on security during
QA on CI (GCC version 6 and higher).

Ref: https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/
Signed-off-by: Petr Štetiar <ynezz@true.cz>
CMakeLists.txt