https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5c61063d25a3712edc585efdd93ebdae5f616e69

commit 5c61063d25a3712edc585efdd93ebdae5f616e69
Author:     Jérôme Gardou <zefk...@users.noreply.github.com>
AuthorDate: Tue Oct 30 17:23:42 2018 +0100
Commit:     GitHub <nore...@github.com>
CommitDate: Tue Oct 30 17:23:42 2018 +0100

    [CMAKE] Do not add any extension to separate debug symbol files (#1000)
    
    There is no possibility for GDB to recognize them otherwise
---
 sdk/cmake/gcc.cmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake
index ae4056b21b..da203e5aa1 100644
--- a/sdk/cmake/gcc.cmake
+++ b/sdk/cmake/gcc.cmake
@@ -190,9 +190,10 @@ if(SEPARATE_DBG)
     message(STATUS "Building separate debug symbols")
     file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/symbols)
     if(CMAKE_GENERATOR STREQUAL "Ninja")
+        set(CMAKE_DEBUG_SYMBOL_SUFFIX "")
         set(SYMBOL_FILE <TARGET_PDB>)
     else()
-        set(SYMBOL_FILE <TARGET>.gdb)
+        set(SYMBOL_FILE <TARGET>)
     endif()
     set(OBJCOPY ${CMAKE_OBJCOPY})
     set(CMAKE_C_LINK_EXECUTABLE

Reply via email to