File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1293,7 +1293,8 @@ def configure_node(o):
1293
1293
1294
1294
# Enable branch protection for arm64
1295
1295
if target_arch == 'arm64' :
1296
- o ['cflags' ]+= ['-msign-return-address=all' ]
1296
+ # nodejs-mobile patch: from https://github.com/nodejs/node/pull/45756
1297
+ # o['cflags']+=['-msign-return-address=all']
1297
1298
o ['variables' ]['arm_fpu' ] = options .arm_fpu or 'neon'
1298
1299
1299
1300
if options .node_snapshot_main is not None :
Original file line number Diff line number Diff line change 113
113
},
114
114
115
115
'conditions' : [
116
+ # nodejs-mobile patch: from https://github.com/nodejs/node/pull/45756
117
+ ['target_arch=="arm64"' , {
118
+ 'cflags' : ['-msign-return-address=all' ], # Pointer authentication.
119
+ }],
116
120
['OS in "aix os400"' , {
117
121
'ldflags' : [
118
122
'-Wl,-bnoerrmsg' ,
You can’t perform that action at this time.
0 commit comments