cmake: add more hardening compiler flags
authorPetr Štetiar <ynezz@true.cz>
Sat, 7 Dec 2019 12:29:05 +0000 (13:29 +0100)
committerPetr Štetiar <ynezz@true.cz>
Wed, 25 Dec 2019 09:31:58 +0000 (10:31 +0100)
commitf804578847de49112d414841df928921e62cc216
treedf592b2aae8c6def58956459fa8e84550c53c3ac
parent46f8268b4b5b808b4979f1e21c71e4dc6288635d
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