Skip to content

Commit 72598df

Browse files
authored
Merge pull request #7 from rzhao271/rzhao271/binskim
fix: bump lockfile version and add flags for binding.gyp
2 parents 504a092 + 4c55282 commit 72598df

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

binding.gyp

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@
44
"target_name": "foreground_love",
55
"sources": [
66
"src/foreground-love.cc"
7-
]
7+
],
8+
'msvs_configuration_attributes': {
9+
'SpectreMitigation': 'Spectre'
10+
},
11+
'msvs_settings': {
12+
'VCCLCompilerTool': {
13+
'AdditionalOptions': [
14+
'/guard:cf',
15+
'/we4244',
16+
'/we4267',
17+
'/ZH:SHA_256'
18+
]
19+
},
20+
'VCLinkerTool': {
21+
'AdditionalOptions': [
22+
'/guard:cf'
23+
]
24+
}
25+
}
826
}
927
]
1028
}

package-lock.json

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)