forked from JuliaPackaging/Yggdrasil
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable pointer authentication on arm 64. (nodejs/node#42888)
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/configure.py b/configure.py | ||
index a4e5723067..60ec604454 100755 | ||
--- a/configure.py | ||
+++ b/configure.py | ||
@@ -1245,9 +1245,9 @@ def configure_node(o): | ||
|
||
o['variables']['want_separate_host_toolset'] = int(cross_compiling) | ||
|
||
- # Enable branch protection for arm64 | ||
- if target_arch == 'arm64': | ||
- o['cflags']+=['-msign-return-address=all'] | ||
+ # # Enable branch protection for arm64 | ||
+ # if target_arch == 'arm64': | ||
+ # o['cflags']+=['-msign-return-address=all'] | ||
|
||
if options.node_snapshot_main is not None: | ||
if options.shared: |