Mercurial > trustbridge
changeset 1299:05d4b2b8f22a
Add weverything for CLANG build
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 16:29:11 +0200 (2014-09-29) |
parents | 9017c524e762 |
children | 320ee276f5ff |
files | CMakeLists.txt |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Sep 29 16:26:01 2014 +0200 +++ b/CMakeLists.txt Mon Sep 29 16:29:11 2014 +0200 @@ -98,6 +98,8 @@ set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wstack-protector") set(HARDENING_FLAGS " ${HARDENING_FLAGS} --param ssp-buffer-size=4") set(HARDENING_FLAGS " ${HARDENING_FLAGS} -D_FORTIFY_SOURCE=2 -O0") +else() + set(HARDENING_FLAGS " -Weverything") endif() if(ENABLE_PROFILING)