mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "Check for both aarch64 and arm64 arch's for pac-ret"
This reverts commit 6a746e1bc9
.
This patch breaks the C level backtrace on macOS ARM machines.
This commit is contained in:
parent
b0adae7fb2
commit
2865148a5a
Notes:
git
2024-09-06 20:51:40 +00:00
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ AS_IF([test "$GCC" = yes], [
|
|||
])
|
||||
|
||||
# aarch64 branch protection
|
||||
AS_CASE(["$target_cpu"], [aarch64|arm64], [
|
||||
AS_CASE(["$target_cpu"], [aarch64], [
|
||||
AS_FOR(option, opt, [-mbranch-protection=pac-ret -msign-return-address=all], [
|
||||
# Try these flags in the _prepended_ position - i.e. we want to try building a program
|
||||
# with CFLAGS="-mbranch-protection=pac-ret $CFLAGS". If the builder has provided different
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue