diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-08-25 14:17:55 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-08-25 14:17:55 +0400 |
commit | 034d3a91d5c60328bd99fc279f2a0ffa89d258d1 (patch) | |
tree | 333e1350c063ff31128a0104065494feaca2301c | |
parent | 7d5a6d44e47c8c64ae0a3357cffef9c5ae884565 (diff) | |
download | rspamd-034d3a91d5c60328bd99fc279f2a0ffa89d258d1.tar.gz rspamd-034d3a91d5c60328bd99fc279f2a0ffa89d258d1.zip |
* Not ommit frame pointer when building with gperf tools
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d52ee61ef..b78780bb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,6 +162,7 @@ IF(ENABLE_GPERF_TOOLS MATCHES "ON") ENDIF(NOT GPERF_LIBRARY) GET_FILENAME_COMPONENT(GPERF_PATH "${GPERF_LIBRARY}" PATH) LINK_DIRECTORIES("${GPERF_PATH}") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer") SET(WITH_GPERF_TOOLS 1) ENDIF(ENABLE_GPERF_TOOLS MATCHES "ON") |