Skip to content

Commit 33bb371

Browse files
committed
Move optimization flags
Those flags aren't strictly required when compiling but they are recommended to be on.
1 parent 171bc77 commit 33bb371

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

conf.pri.windows

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,5 @@ CONFIG += stacktrace
6565
win32-msvc* {
6666
QMAKE_CXXFLAGS += "/guard:cf"
6767
QMAKE_LFLAGS += "/guard:cf"
68+
QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"
6869
}

winconf.pri

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ win32-g++* {
3939
else:win32-msvc* {
4040
CONFIG -= embed_manifest_exe
4141
QMAKE_LFLAGS += "/MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest) /STACK:0x800000"
42-
QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"
4342

4443
RC_FILE = qbittorrent.rc
4544

0 commit comments

Comments
 (0)