mirror of
https://abf.rosa.ru/djam/kicad.git
synced 2025-02-23 10:12:48 +00:00
20 lines
894 B
Diff
20 lines
894 B
Diff
diff -ur kicad-4.0.7/CMakeLists.txt kicad-4.0.7_patched/CMakeLists.txt
|
|
--- kicad-4.0.7/CMakeLists.txt 2017-08-28 17:31:31.000000000 +0300
|
|
+++ kicad-4.0.7_patched/CMakeLists.txt 2017-09-03 16:28:39.391735474 +0300
|
|
@@ -206,7 +206,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
|
|
@@ -255,8 +254,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.
|
|
# https://bugs.launchpad.net/kicad/+bug/1322354
|