Revert "Check for both aarch64 and arm64 arch's for pac-ret"
This reverts commit 6a746e1bc902d4245aac58db4e9ffc2f72d79629. 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
@ -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…
x
Reference in New Issue
Block a user