From: Hilmar Preusse Date: Fri, 22 Dec 2023 07:01:10 +0000 (+0000) Subject: Do not strip binary after build. X-Git-Tag: archive/raspbian/2.11.02+really2.11.01+ds-1+rpi1~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d3008b7fe8271b8cb569e5ff4042020cabdfa71;p=luametatex.git Do not strip binary after build. Last-Update: 2023-04-17 Forward: Patch is specific to Debian Gbp-Pq: Name no_strip.diff --- 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()