Skip to content

Commit bb8597e

Browse files
committed
Fix Unrecognized command line option -msign-return-address=all
Ticket: nodejs#42888
1 parent 769b65b commit bb8597e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

configure.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1289,10 +1289,11 @@ def configure_node(o):
12891289

12901290
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
12911291

1292-
# Enable branch protection for arm64
1293-
if target_arch == 'arm64':
1294-
o['cflags']+=['-msign-return-address=all']
1295-
o['variables']['arm_fpu'] = options.arm_fpu or 'neon'
1292+
# See: https://github.com/nodejs/node/issues/42888
1293+
# # Enable branch protection for arm64
1294+
# if target_arch == 'arm64':
1295+
# o['cflags']+=['-msign-return-address=all']
1296+
# o['variables']['arm_fpu'] = options.arm_fpu or 'neon'
12961297

12971298
if options.node_snapshot_main is not None:
12981299
if options.shared:

0 commit comments

Comments
 (0)