[PATCH] Add weverything for CLANG build

Wald Commits scm-commit at wald.intevation.org
Mon Sep 29 16:29:25 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1412000951 -7200
# Node ID 05d4b2b8f22a6550ae340ce6ee1982bd8e442e5f
# Parent  9017c524e762bcd3bf78cecbaf320d8eaaeb028a
Add weverything for CLANG build

diff -r 9017c524e762 -r 05d4b2b8f22a CMakeLists.txt
--- 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)


More information about the Trustbridge-commits mailing list