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 159b4d7 commit 938212fCopy full SHA for 938212f
1 file changed
configure.py
@@ -1208,6 +1208,10 @@ def configure_node(o):
1208
1209
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
1210
1211
+ # Enable branch protection for arm64
1212
+ if target_arch == 'arm64':
1213
+ o['cflags']+=['-msign-return-address=all']
1214
+
1215
if options.node_snapshot_main is not None:
1216
if options.shared:
1217
# This should be possible to fix, but we will need to refactor the
0 commit comments