From 4e6e9b2b66ab96acf0dba82070f7e09b1a2ca2d3 Mon Sep 17 00:00:00 2001 From: Hilmar Preusse Date: Tue, 18 Jul 2023 00:02:20 +0200 Subject: [PATCH] Do not strip binary after build. Last-Update: 2023-04-17 Forward: Patch is specific to Debian Gbp-Pq: Name no_strip.diff --- cmake/luametatex.cmake | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cmake/luametatex.cmake b/cmake/luametatex.cmake index e1ce40b..6160194 100644 --- a/cmake/luametatex.cmake +++ b/cmake/luametatex.cmake @@ -76,14 +76,3 @@ if (${CMAKE_HOST_SOLARIS}) resolv ) endif() - -if (DEFINED LMT_OPTIMIZE) - # we strip anyway -elseif (CMAKE_HOST_SOLARIS) - # no strip -elseif (CMAKE_C_COMPILER_ID MATCHES "GNU") - # -g -S -d : remove all debugging symbols & sections - # -x : remove all non-global symbols - # -X : remove any compiler-generated symbols - add_custom_command(TARGET luametatex POST_BUILD COMMAND ${CMAKE_STRIP} -g -S -d -x luametatex${CMAKE_EXECUTABLE_SUFFIX}) -endif() -- 2.30.2