fix: use SpectreMitigation attribute (#13)
This commit is contained in:
Родитель
97b92323a5
Коммит
83b0c07789
25
binding.gyp
25
binding.gyp
|
@ -7,20 +7,21 @@
|
|||
"sources": [
|
||||
"src/winregistry.cc"
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': [
|
||||
'/W3',
|
||||
'/Qspectre',
|
||||
'/guard:cf',
|
||||
'/we4244',
|
||||
'/we4267',
|
||||
'/ZH:SHA_256'
|
||||
"msvs_configuration_attributes": {
|
||||
"SpectreMitigation": "Spectre"
|
||||
},
|
||||
"msvs_settings": {
|
||||
"VCCLCompilerTool": {
|
||||
"AdditionalOptions": [
|
||||
"/guard:cf",
|
||||
"/we4244",
|
||||
"/we4267",
|
||||
"/ZH:SHA_256"
|
||||
]
|
||||
},
|
||||
'VCLinkerTool': {
|
||||
'AdditionalOptions': [
|
||||
'/guard:cf'
|
||||
"VCLinkerTool": {
|
||||
"AdditionalOptions": [
|
||||
"/guard:cf"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче