summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-19 12:38:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-19 12:38:51 +0300
commit04847f92f8621fd6a3194af236308bb802505854 (patch)
tree8d3389d74c42401dba9c8b19bb667dd5565be28c /build
parentc1fe97abf28589a17bb1ea1e60759649287894f6 (diff)
fixes #2009 (Enable Spectre mitigations)
first we gonna test it on mice (VS2019)
Diffstat (limited to 'build')
-rw-r--r--build/vc.common/common.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/vc.common/common.props b/build/vc.common/common.props
index 8af858ef6d..f9661a06bc 100644
--- a/build/vc.common/common.props
+++ b/build/vc.common/common.props
@@ -27,6 +27,7 @@
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
+ <AdditionalOptions Condition="'$(VisualStudioVersion)' == '16.0'">/Qspectre %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<AdditionalDependencies>Wininet.lib;winmm.lib;Wtsapi32.lib;netapi32.lib;pdh.lib;shlwapi.lib;Strmiids.lib;gdiplus.lib;dbghelp.lib;Setupapi.lib;msimg32.lib;comctl32.lib;ws2_32.lib;UxTheme.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>