aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-09-13 14:38:46 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-09-13 14:38:46 +0100
commitd9b00829d60ef1f0cd5fe8c8c625aedc721cdb9d (patch)
treefd1bdd0e6dc6fd17cd90568ad3915478c2a39326
parente60bfeb89f209bf9a30603cbbd8fcc7618fe24a4 (diff)
downloadrspamd-d9b00829d60ef1f0cd5fe8c8c625aedc721cdb9d.tar.gz
rspamd-d9b00829d60ef1f0cd5fe8c8c625aedc721cdb9d.zip
[Minor] Another try
-rw-r--r--contrib/backward-cpp/BackwardConfig.cmake13
1 files changed, 4 insertions, 9 deletions
diff --git a/contrib/backward-cpp/BackwardConfig.cmake b/contrib/backward-cpp/BackwardConfig.cmake
index 594f5db68..e04e3facb 100644
--- a/contrib/backward-cpp/BackwardConfig.cmake
+++ b/contrib/backward-cpp/BackwardConfig.cmake
@@ -31,20 +31,15 @@ set(STACK_WALKING_BACKTRACE FALSE CACHE BOOL
set(STACK_WALKING_LIBUNWIND FALSE CACHE BOOL
"Use libunwind for stack walking")
-set(STACK_DETAILS_AUTO_DETECT FALSE CACHE BOOL
- "Auto detect backward's stack details dependencies")
+set(STACK_DETAILS_AUTO_DETECT TRUE CACHE BOOL
+ "Auto detect backward's stack details dependencies")
set(STACK_DETAILS_BACKTRACE_SYMBOL FALSE CACHE BOOL
"Use backtrace from (e)glibc for symbols resolution")
set(STACK_DETAILS_DW FALSE CACHE BOOL
- "Use libdw to read debug info")
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(STACK_DETAILS_BFD TRUE CACHE BOOL
+ "Use libdw to read debug info")
+set(STACK_DETAILS_BFD FALSE CACHE BOOL
"Use libbfd to read debug info")
-else()
- set(STACK_DETAILS_BFD FALSE CACHE BOOL
- "Use libbfd to read debug info")
-endif()
set(STACK_DETAILS_DWARF FALSE CACHE BOOL
"Use libdwarf/libelf to read debug info")