From 47a6b6df8859c3b4bf2874891513332196e9f0dc Mon Sep 17 00:00:00 2001 From: Hilmar Preusse Date: Sat, 15 Jun 2024 23:25:01 +0200 Subject: [PATCH] Do not strip binary after build. Last-Update: 2023-04-17 Forwarded: not-needed Gbp-Pq: Name no_strip.diff --- CMakeLists.txt | 2 +- cmake/luametatex.cmake | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 37e9e04..e6550d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ set(LMT_HB_TOO 1) # Maybe handy for Idris' font development (old converted ffi # nice (the smaller as runner the better). After all, we don't load external (Lua) libraries # anyway. -set(LMT_STRIP 1) +# set(LMT_STRIP 1) if (MSVC) diff --git a/cmake/luametatex.cmake b/cmake/luametatex.cmake index 85da18d..7d772ae 100644 --- a/cmake/luametatex.cmake +++ b/cmake/luametatex.cmake @@ -77,14 +77,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