Skip to content

Commit

Permalink
fix: add SpectreMitigation attribute (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 authored Mar 9, 2023
1 parent e06083b commit f0afc7e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@
# https://chromium.googlesource.com/chromium/src/+/master/build/config/mac/mac_sdk.gni#22
"MACOSX_DEPLOYMENT_TARGET": "10.11",
},
"msvs_configuration_attributes": {
"SpectreMitigation": "Spectre"
},
"msvs_settings": {
"VCCLCompilerTool": {
"ExceptionHandling": 1,
"AdditionalOptions": [
'/Qspectre',
'/guard:cf'
"/guard:cf",
"/ZH:SHA_256"
]
},
"VCLinkerTool": {
"AdditionalOptions": [
'/guard:cf'
"/guard:cf"
]
}
},
Expand Down

0 comments on commit f0afc7e

Please sign in to comment.