commit 80a9e13: [Minor] It seems that -gembed-source is not working at all

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Dec 20 17:21:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-12-20 17:16:26 +0000
URL: https://github.com/rspamd/rspamd/commit/80a9e13826c197ae13095dfa33c7bde910034142 (HEAD -> master)

[Minor] It seems that -gembed-source is not working at all

---
 cmake/Toolset.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/Toolset.cmake b/cmake/Toolset.cmake
index 36df2eecc..8e7c1bb29 100644
--- a/cmake/Toolset.cmake
+++ b/cmake/Toolset.cmake
@@ -151,7 +151,7 @@ if (COMPILER_GCC)
 else ()
     # Clang flags
     if (LINKER_NAME MATCHES "lld")
-        set (COMPILER_DEBUG_FLAGS "-g -glldb -gdwarf-aranges -gembed-source -grecord-command-line -gdwarf-5")
+        set (COMPILER_DEBUG_FLAGS "-g -glldb -gdwarf-aranges -gdwarf-5")
     else ()
         set (COMPILER_DEBUG_FLAGS "-g -glldb -gdwarf-aranges -gdwarf-4")
     endif ()


More information about the Commits mailing list