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 45dcd5c commit bb346eaCopy full SHA for bb346ea
configure.py
@@ -1237,6 +1237,10 @@ def configure_node(o):
1237
1238
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
1239
1240
+ # Enable branch protection for arm64
1241
+ if target_arch == 'arm64':
1242
+ o['cflags']+=['-msign-return-address=all']
1243
+
1244
if options.node_snapshot_main is not None:
1245
if options.shared:
1246
# This should be possible to fix, but we will need to refactor the
0 commit comments