Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #451 from TylerLeonhardt/tyler/add-cf-and-qspectre
Browse files Browse the repository at this point in the history
Add cf and qspectre flags
  • Loading branch information
sergiou87 committed Mar 2, 2022
2 parents 0c23704 + 1deafc0 commit deae59a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion binding.gyp
Expand Up @@ -12,7 +12,18 @@
'MACOSX_DEPLOYMENT_TARGET': '10.7',
},
'msvs_settings': {
'VCCLCompilerTool': { 'ExceptionHandling': 1 },
'VCCLCompilerTool': {
'ExceptionHandling': 1,
'AdditionalOptions': [
'/Qspectre',
'/guard:cf'
]
},
'VCLinkerTool': {
'AdditionalOptions': [
'/guard:cf'
]
}
},
'include_dirs': ["<!(node -p \"require('node-addon-api').include_dir\")"],
'sources': [
Expand Down

0 comments on commit deae59a

Please sign in to comment.