kicad/kicad-5.0.1-nostrip.patch
2019-01-05 23:21:46 +03:00

19 lines
833 B
Diff

diff -ur kicad-5.0.1/CMakeLists.txt kicad-5.0.1_patched/CMakeLists.txt
--- kicad-5.0.1/CMakeLists.txt 2018-10-09 00:14:38.000000000 +0300
+++ kicad-5.0.1_patched/CMakeLists.txt 2018-11-26 20:20:31.821132164 +0300
@@ -295,7 +295,6 @@
endif()
if( MINGW )
- set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" )
# _UNICODE definition seems needed under mingw/gcc 4.8
# (Kicad uses unicode, and on Windows, wxWidgets >= 2.9.4 is mandatory
@@ -335,7 +334,6 @@
set( CMAKE_SHARED_LINKER_FLAGS "${TO_LINKER},--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${TO_LINKER},--no-undefined" )
- set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" )
# Defeat ELF's ability to use the GOT to replace locally implemented functions
# with ones from another module.