summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Rohloff <v10lator@myway.de>2025-06-28 11:01:09 +0200
committerThomas Rohloff <v10lator@myway.de>2025-06-28 11:01:09 +0200
commitdc918a936b1874f2850893cbe3de8db4be79e7a3 (patch)
treebd87aeef579d6b12e9f3a6b48ccf8f15c2e709ac /CMakeLists.txt
parentdea55cf8c7b9026e6fb77a60151f66ba49153901 (diff)
Add -fomit-frame-pointer to CXX flags
Signed-off-by: Thomas Rohloff <v10lator@myway.de>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48b0955d7..d076c5e28 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,7 +112,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU|Clang|AppleClang")
)
set(COMMON_C_FLAGS "${COMMON_FLAGS} -Wno-int-conversion -Werror-implicit-function-declaration -Wno-incompatible-pointer-types")
- set(COMMON_CXX_FLAGS "${COMMON_FLAGS} -Wno-c++11-narrowing -Wno-deprecated-enum-enum-conversion -fpermissive")
+ set(COMMON_CXX_FLAGS "${COMMON_FLAGS} -Wno-c++11-narrowing -Wno-deprecated-enum-enum-conversion -fpermissive -fomit-frame-pointer")
elseif (MSVC)
set(COMMON_FLAGS "/fp:fast")
set(COMMON_C_FLAGS "${COMMON_FLAGS}")