aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-27 12:48:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-27 12:48:33 +0000
commitdadb994e8cd1e5fe3c551b46ac099517af2a152e (patch)
tree653266df4538d4b503f6d2b5e2ea22f8b4862552 /cmake
parenteeb36f1c0724931e114bb2b87b585447419893ed (diff)
downloadrspamd-dadb994e8cd1e5fe3c551b46ac099517af2a152e.tar.gz
rspamd-dadb994e8cd1e5fe3c551b46ac099517af2a152e.zip
[Minor] Remove dwarf-5 as it is not working with rpm
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Toolset.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/Toolset.cmake b/cmake/Toolset.cmake
index a60815d7a..673479f11 100644
--- a/cmake/Toolset.cmake
+++ b/cmake/Toolset.cmake
@@ -150,11 +150,7 @@ if (COMPILER_GCC)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Og ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
else ()
# Clang flags
- if (LINKER_NAME MATCHES "lld")
- set (COMPILER_DEBUG_FLAGS "-g -glldb -gdwarf-aranges -gdwarf-5")
- else ()
- set (COMPILER_DEBUG_FLAGS "-g -glldb -gdwarf-aranges -gdwarf-4")
- endif ()
+ set (COMPILER_DEBUG_FLAGS "-g -glldb -gdwarf-aranges -gdwarf-4")
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -fomit-frame-pointer ${COMPILER_FAST_MATH}")
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -fomit-frame-pointer ${COMPILER_FAST_MATH}")