]>
Commit | Line | Data |
---|---|---|
c4549a7b JR |
1 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
2 | index ec4c5b7..1350307 100644 | |
3 | --- a/CMakeLists.txt | |
4 | +++ b/CMakeLists.txt | |
5 | @@ -187,7 +187,6 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" ) | |
6 | endif() | |
7 | ||
8 | if( MINGW ) | |
9 | - set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" ) | |
10 | ||
11 | # _UNICODE definition seems needed under mingw/gcc 4.8 | |
12 | # (Kicad uses unicode, and on Windows, wxWidgets >= 2.9.4 is mandatory | |
13 | @@ -236,8 +235,6 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" ) | |
14 | set( CMAKE_SHARED_LINKER_FLAGS "${TO_LINKER},--no-undefined" ) | |
15 | set( CMAKE_MODULE_LINKER_FLAGS "${TO_LINKER},--no-undefined" ) | |
16 | ||
17 | - set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" ) | |
18 | - | |
19 | # Defeat ELF's ability to use the GOT to replace locally implemented functions | |
20 | # with ones from another module. | |
21 | # https://bugs.launchpad.net/kicad/+bug/1322354 |