From d06e040762692bc70837eb36168eb4e1df9744ac Mon Sep 17 00:00:00 2001 From: "Herman S." <429230+has207@users.noreply.github.com> Date: Fri, 24 Apr 2026 11:32:47 +0900 Subject: [PATCH] [Build] Remove _GLIBCXX_DEBUG from debug and checked builds Since it doesn't play well with vendored spirv-tools --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6841c428..7555fb54d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -347,17 +347,11 @@ else() $<$:DEBUG> $<$:NDEBUG> ) - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") - add_compile_definitions($<$:_GLIBCXX_DEBUG>) - endif() add_compile_definitions( $<$:DEBUG> $<$:_NO_DEBUG_HEAP=1> ) - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") - add_compile_definitions($<$:_GLIBCXX_DEBUG>) - endif() # Release keeps -g so crashes in the field have resolvable frames. add_compile_definitions(