Do not strip binary after build.
authorHilmar Preusse <hille42@web.de>
Fri, 22 Dec 2023 07:01:10 +0000 (07:01 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 22 Dec 2023 07:01:10 +0000 (07:01 +0000)
Last-Update: 2023-04-17
Forward: Patch is specific to Debian

Gbp-Pq: Name no_strip.diff

cmake/luametatex.cmake

index e1ce40b639ffbb25edeb183eba15edfc459b250a..6160194dc8698e909648a6018db03b9ec6c14ac5 100644 (file)
@@ -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()