We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43fa6a1 commit 4baeb7bCopy full SHA for 4baeb7b
node.gyp
@@ -482,8 +482,20 @@
482
},
483
484
'conditions': [
485
+ # Pointer authentication for ARM64.
486
['target_arch=="arm64"', {
- 'cflags': ['-mbranch-protection=standard'], # Pointer authentication.
487
+ 'target_conditions': [
488
+ ['_toolset=="host"', {
489
+ 'conditions': [
490
+ ['host_arch=="arm64"', {
491
+ 'cflags': ['-mbranch-protection=standard'],
492
+ }],
493
+ ],
494
495
+ ['_toolset=="target"', {
496
497
498
499
}],
500
['OS in "aix os400"', {
501
'ldflags': [
0 commit comments