qt5base-lts/mkspecs/common
Yuhang Zhao f27f9e7bd3 MSVC: enable identical COMDAT folding for release builds
According to Microsoft's docs, /OPT:ICF is enabled by the
linker by default unless /OPT:NOICF or /DEBUG is specified.

If we are in RelWithDebInfo mode, /DEBUG is passed to the
linker to generate debug symbols, however, it caused the
identical COMDAT folding be disabled. We now pass /OPT:ICF
to the linker explicitly to prevent this.

[1] https://docs.microsoft.com/en-us/cpp/build/reference/opt-optimizations?view=msvc-160

Change-Id: I02099edb81034ace7bb19f1164d57829e3979a5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-12 03:51:04 +08:00
..
aix
android Remove checks for glibc < 2 from qplatformdefs.h files 2020-04-23 06:41:32 +02:00
bsd
c89
integrity
mac
nacl
posix
qnx
rtems
uikit
clang-mac.conf Fix LTCG linker flags for macOS with separate debug info 2019-11-08 17:00:17 +01:00
clang.conf qmake: Stop using -isystem flag 2020-06-06 09:53:59 +00:00
g++-base.conf Fix cross-compilation to Linux 2019-11-04 08:28:20 +00:00
g++-macx.conf
g++-unix.conf
g++-win32.conf Generalize the winmain/qtmain entry-point library 2020-10-17 12:13:00 +02:00
g++.conf
gcc-base-mac.conf
gcc-base-unix.conf
gcc-base.conf Qmake: Share QMAKE_LINK_OBJECT_SCRIPT definition 2020-07-06 16:44:11 +03:00
ghs-base.conf
ghs-integrity-armv7.conf
ghs-integrity-armv8.conf Add option to select build target for Integrity 2020-04-20 19:34:27 +03:00
ghs-integrity-x86.conf
icc-base-unix.conf Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
ios.conf
linux.conf
llvm.conf
mac.conf Revert "configure: actually resolve libraries into full filepaths" 2019-09-13 10:47:38 +02:00
macx.conf Limit OpenGL deprecation silencing on Apple platform to Qt itself 2020-07-02 10:27:58 +02:00
msvc-based-version.conf Detect Visual C++ 2019 mode in clang_cl / intel_icl 2020-03-25 19:07:04 +00:00
msvc-desktop.conf MSVC: enable identical COMDAT folding for release builds 2020-11-12 03:51:04 +08:00
msvc-version.conf Build Qt (and client apps using it) with /permissive- 2020-11-10 20:01:49 +01:00
qcc-base-qnx-aarch64le.conf
qcc-base-qnx-armle-v7.conf
qcc-base-qnx-x86-64.conf
qcc-base-qnx-x86.conf
qcc-base-qnx.conf Use C++17 for qmake and force the build of everything with C++17 2020-02-08 09:49:07 +01:00
qcc-base.conf
rtems-base.conf
sanitize.conf configure: Explicitly enable float-divide-by-zero with ubsan 2020-08-07 01:21:07 +02:00
shell-unix.conf
shell-win32.conf
solaris.conf Fix solaris build 2020-05-05 15:34:16 +02:00
tvos.conf
uikit.conf Limit OpenGL deprecation silencing on Apple platform to Qt itself 2020-07-02 10:27:58 +02:00
unix.conf
watchos.conf
windows-desktop.conf
windows-vulkan.conf