Browse Source

Move optimization flags

Those flags aren't strictly required when compiling but they are
recommended to be on.
adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
33bb3719d7
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 1
      conf.pri.windows
  2. 1
      winconf.pri

1
conf.pri.windows

@ -65,4 +65,5 @@ CONFIG += stacktrace @@ -65,4 +65,5 @@ CONFIG += stacktrace
win32-msvc* {
QMAKE_CXXFLAGS += "/guard:cf"
QMAKE_LFLAGS += "/guard:cf"
QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"
}

1
winconf.pri

@ -39,7 +39,6 @@ win32-g++* { @@ -39,7 +39,6 @@ win32-g++* {
else:win32-msvc* {
CONFIG -= embed_manifest_exe
QMAKE_LFLAGS += "/MANIFEST:EMBED /MANIFESTINPUT:$$quote($${PWD}/src/qbittorrent.exe.manifest) /STACK:0x800000"
QMAKE_LFLAGS_RELEASE += "/OPT:REF /OPT:ICF"
RC_FILE = qbittorrent.rc

Loading…
Cancel
Save