build: only use --strip-debug to still get useful stack traces

This commit is contained in:
Marcus Holland-Moritz 2024-08-06 10:53:20 +02:00
parent bae568d29f
commit 0bac595e7a

View File

@ -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()