We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67353fe commit d76c462Copy full SHA for d76c462
1 file changed
binding.gyp
@@ -74,8 +74,12 @@
74
"configurations": {
75
"Release": {
76
"conditions": [
77
+ # _FORTIFY_SOURCE applies to all Linux architectures
78
["OS=='linux'", {
- "defines+": [ "_FORTIFY_SOURCE=2" ],
79
+ "defines+": [ "_FORTIFY_SOURCE=2" ]
80
+ }],
81
+ # Control Flow Protection only for x86_64 (Intel CET)
82
+ ["OS=='linux' and target_arch=='x64'", {
83
"cflags+": [ "-fcf-protection=full" ]
84
}],
85
["OS=='win'", {
0 commit comments