From 0bac595e7a6cfd9a3448edf4f24f4ce41d42a1de Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Tue, 6 Aug 2024 10:53:20 +0200 Subject: [PATCH] build: only use --strip-debug to still get useful stack traces --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38a53296..0dcba1b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1401,7 +1401,7 @@ if(STATIC_BUILD_DO_NOT_USE OR APPLE) if(APPLE) add_custom_target(strip COMMAND strip ${FILES_TO_STRIP}) else() - add_custom_target(strip COMMAND strip -s ${FILES_TO_STRIP}) + add_custom_target(strip COMMAND strip --strip-debug ${FILES_TO_STRIP}) endif() endif()