Skip to content

Commit 4683a91

Browse files
committed
chore: add D_FORTIFY_SOURCE flag
1 parent cae0317 commit 4683a91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

binding.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"src/string_conversion.cc",
77
"src/keymapping.cc"
88
],
9+
'cflags': [
10+
'-O2', '-D_FORTIFY_SOURCE=2'
11+
],
912
'msvs_configuration_attributes': {
1013
'SpectreMitigation': 'Spectre'
1114
},

0 commit comments

Comments
 (0)