Skip to content

Commit c30eba9

Browse files
committed
Fix Unrecognized command line option -msign-return-address=all
Ticket: nodejs#42888
1 parent 9ca57fa commit c30eba9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configure.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1245,9 +1245,10 @@ def configure_node(o):
12451245

12461246
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
12471247

1248-
# Enable branch protection for arm64
1249-
if target_arch == 'arm64':
1250-
o['cflags']+=['-msign-return-address=all']
1248+
# See: https://github.com/nodejs/node/issues/42888
1249+
# # Enable branch protection for arm64
1250+
# if target_arch == 'arm64':
1251+
# o['cflags']+=['-msign-return-address=all']
12511252

12521253
if options.node_snapshot_main is not None:
12531254
if options.shared:

0 commit comments

Comments
 (0)