Do not "eliminate unused debug types". It's broken.

This commit is contained in:
Bartosz Taudul 2024-05-24 01:07:02 +02:00
parent b405370af9
commit c5e64a182c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -47,4 +47,6 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if(MOLD_LINKER)
set(CMAKE_LINKER_TYPE "MOLD")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-eliminate-unused-debug-types")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-eliminate-unused-debug-types")
endif()