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