Last-Update: 2023-04-17
Forwarded: not-needed
Gbp-Pq: Name no_strip.diff
# 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)
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()