From: Debian Games Team Date: Thu, 22 Sep 2022 12:51:50 +0000 (+0100) Subject: Workaround Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016936 X-Git-Tag: archive/raspbian/1.0.2-4+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5dd2f2ad9de6adb5403f83f42d64bfa75cd54090;p=hedgewars.git Workaround Debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016936 until dwz starts understanding dwarf-5 binaries. Gbp-Pq: Name dwarf.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fc48b9..12d36ba 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()