1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Workaround Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016936
until dwz starts understanding dwarf-5 binaries.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8fc48b94..12d36ba9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -190,6 +190,8 @@ if(BUILD_ENGINE_C AND NOT BUILD_ENGINE_JS)
set(CMAKE_C_COMPILER ${CLANG_EXECUTABLE})
set(CMAKE_CXX_COMPILER ${CLANG_EXECUTABLE})
+ add_flag_append(CMAKE_C_FLAGS "-gdwarf-4")
+ add_flag_append(CMAKE_CXX_FLAGS "-gdwarf-4")
endif()
|