We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6af7b78 commit 6826bbfCopy full SHA for 6826bbf
node.gyp
@@ -466,8 +466,20 @@
466
},
467
468
'conditions': [
469
+ # Pointer authentication for ARM64.
470
['target_arch=="arm64"', {
- 'cflags': ['-mbranch-protection=standard'], # Pointer authentication.
471
+ 'target_conditions': [
472
+ ['_toolset=="host"', {
473
+ 'conditions': [
474
+ ['host_arch=="arm64"', {
475
+ 'cflags': ['-mbranch-protection=standard'],
476
+ }],
477
+ ],
478
479
+ ['_toolset=="target"', {
480
481
482
483
}],
484
['OS in "aix os400"', {
485
'ldflags': [
0 commit comments