]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove dwarf-5 as it is not working with rpm
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 27 Jan 2020 12:48:14 +0000 (12:48 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 27 Jan 2020 12:48:33 +0000 (12:48 +0000)
cmake/Toolset.cmake

index a60815d7a34019df1ec11d7bb9d392de385a7d9e..673479f1102374130b0f919868d0ee3c408625f0 100644 (file)
@@ -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}")