# HG changeset patch # User Sebastien Decugis # Date 1278579295 -32400 # Node ID fa39aecb41c66951af674128ae7ac8bfee8f78a8 # Parent 1f4aa49b26e445f38244bc7a610936e0913ffc17 Fix profiling profile for FreeBSD8.0 diff -r 1f4aa49b26e4 -r fa39aecb41c6 CMakeLists.txt --- a/CMakeLists.txt Thu Jul 08 17:54:32 2010 +0900 +++ b/CMakeLists.txt Thu Jul 08 17:54:55 2010 +0900 @@ -38,7 +38,7 @@ # Add a "Profiling" build type # SET(CMAKE_BUILD_TYPE Profiling) -SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage -g -Wall") +SET(CMAKE_C_FLAGS_PROFILING "-fprofile-arcs -ftest-coverage -fstack-protector -g -Wall") # Set the DEBUG flag for Debug and Profiling builds IF (CMAKE_BUILD_TYPE MATCHES "Debug|Profiling")