kicad/kicad-5.1.5-nostrip.patch

20 lines
769 B
Diff
Raw Normal View History

2020-01-30 23:25:03 +03:00
diff -ur kicad-5.1.5/CMakeLists.txt kicad-5.1.5_patched/CMakeLists.txt
--- kicad-5.1.5/CMakeLists.txt 2019-11-14 20:09:45.000000000 +0300
+++ kicad-5.1.5_patched/CMakeLists.txt 2020-01-26 15:06:50.340865974 +0300
@@ -326,7 +326,6 @@
endif()
if( MINGW )
- set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" )
# Since version 2.8.5, Cmake uses a response file (.rsp) to
# pass the list of include paths to gcc
@@ -358,7 +357,6 @@
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--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.