From 53017d5cdee38117db1705afe113eb04987ce86a Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 30 Jun 2017 23:46:49 +0800 Subject: [PATCH] Separate "Release mode" linker options --- winconf-msvc.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winconf-msvc.pri b/winconf-msvc.pri index 742680228..f27a1f791 100644 --- a/winconf-msvc.pri +++ b/winconf-msvc.pri @@ -12,7 +12,8 @@ strace_win { } CONFIG -= embed_manifest_exe -QMAKE_LFLAGS += "/OPT:REF /OPT:ICF /MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest) /STACK:0x800000" +QMAKE_LFLAGS += "/MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest) /STACK:0x800000" +QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF" RC_FILE = qbittorrent.rc