mirror of
https://abf.rosa.ru/djam/kicad.git
synced 2025-02-23 10:12:48 +00:00
21 lines
942 B
Diff
21 lines
942 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index af87f4b..f002416 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -186,7 +186,6 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|
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
|
|
@@ -223,8 +222,6 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|
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
|