Mercurial > trustbridge
comparison CMakeLists.txt @ 1303:78637257f547
Merged.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 16:38:09 +0200 |
parents | 05d4b2b8f22a |
children | 8897c90b8166 |
comparison
equal
deleted
inserted
replaced
1302:7b6a1d0b87c3 | 1303:78637257f547 |
---|---|
96 # Hardening flags | 96 # Hardening flags |
97 set(HARDENING_FLAGS " -Wall -fstack-protector-all -fno-exceptions") | 97 set(HARDENING_FLAGS " -Wall -fstack-protector-all -fno-exceptions") |
98 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wstack-protector") | 98 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wstack-protector") |
99 set(HARDENING_FLAGS " ${HARDENING_FLAGS} --param ssp-buffer-size=4") | 99 set(HARDENING_FLAGS " ${HARDENING_FLAGS} --param ssp-buffer-size=4") |
100 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -D_FORTIFY_SOURCE=2 -O0") | 100 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -D_FORTIFY_SOURCE=2 -O0") |
101 else() | |
102 set(HARDENING_FLAGS " -Weverything") | |
101 endif() | 103 endif() |
102 | 104 |
103 if(ENABLE_PROFILING) | 105 if(ENABLE_PROFILING) |
104 set(PROFILING_FLAGS "-fprofile-arcs -ftest-coverage") | 106 set(PROFILING_FLAGS "-fprofile-arcs -ftest-coverage") |
105 set(PROFILING_LIBS gcov) | 107 set(PROFILING_LIBS gcov) |