aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 14:17:55 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 14:17:55 +0400
commit034d3a91d5c60328bd99fc279f2a0ffa89d258d1 (patch)
tree333e1350c063ff31128a0104065494feaca2301c
parent7d5a6d44e47c8c64ae0a3357cffef9c5ae884565 (diff)
downloadrspamd-034d3a91d5c60328bd99fc279f2a0ffa89d258d1.tar.gz
rspamd-034d3a91d5c60328bd99fc279f2a0ffa89d258d1.zip
* Not ommit frame pointer when building with gperf tools
-rw-r--r--CMakeLists.txt1
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")