From b22175e24d7e68244fafa89c4cf1b16e133b4ba2 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 12 May 2025 23:15:21 -0400 Subject: [PATCH] Add -fno-omit-frame-pointer --- CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1545c2f..c4633aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,8 +21,14 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) "MinSizeRel" "RelWithDebInfo") endif() -add_compile_options(-Werror=switch-enum -Wswitch-enum -Wunused-variable -fPIC - -fdata-sections -ffunction-sections) +add_compile_options( + -Werror=switch-enum + -Wswitch-enum + -Wunused-variable + -fPIC + -fdata-sections + -ffunction-sections + -fno-omit-frame-pointer) add_subdirectory(third_party)