mirror of https://github.com/KLayout/klayout.git
Fixed a general linker problem with release builds on MSVC
This commit is contained in:
parent
adebdf307b
commit
c9d7b39190
|
|
@ -95,6 +95,9 @@ msvc {
|
||||||
/wd4251 \ # Disable "DLL interface required"
|
/wd4251 \ # Disable "DLL interface required"
|
||||||
/source-charset:utf-8 \ # Use UTF-8 for source files
|
/source-charset:utf-8 \ # Use UTF-8 for source files
|
||||||
|
|
||||||
|
QMAKE_LFLAGS += \
|
||||||
|
/OPT:NOREF \ # preserves functions we want to keep for implementing the "force link" mechanism
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_WARN_ON += \
|
QMAKE_CXXFLAGS_WARN_ON += \
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue