diff CMakeLists.txt @ 1299:05d4b2b8f22a

Add weverything for CLANG build
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 29 Sep 2014 16:29:11 +0200
parents a548dd9a5dbe
children 8897c90b8166
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)

http://wald.intevation.org/projects/trustbridge/