mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
Turn on Control Flow Guard for MSVC builds
The performance impact should be negligible according to the documentation on msdn. Closes #9101.
This commit is contained in:
parent
7d9cc04c88
commit
171bc77059
1 changed files with 5 additions and 0 deletions
|
@ -61,3 +61,8 @@ DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
|
||||||
|
|
||||||
# Enable stack trace support
|
# Enable stack trace support
|
||||||
CONFIG += stacktrace
|
CONFIG += stacktrace
|
||||||
|
|
||||||
|
win32-msvc* {
|
||||||
|
QMAKE_CXXFLAGS += "/guard:cf"
|
||||||
|
QMAKE_LFLAGS += "/guard:cf"
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue