Skip to content

Commit d16dd0a

Browse files
authored
feat(NODE-7404): enable stack-protector-strong flag on Linux (#306)
1 parent d3e2cb2 commit d16dd0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

binding.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
}
4545
},
4646
'conditions': [
47+
['OS!="win"', {
48+
'cflags': ['-fstack-protector-strong'],
49+
'cflags_cc': ['-fstack-protector-strong']
50+
}],
4751
['OS=="mac"', { 'cflags+': ['-fvisibility=hidden'] }],
4852
['_type!="static_library" and ARCH=="arm64"', {
4953
'xcode_settings': {

0 commit comments

Comments
 (0)