llvm-runtimes/libunwind: Disable cross-unwinding in 22.x

Bug: https://github.com/llvm/llvm-project/issues/152549
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-09 17:25:44 +02:00
parent 1eb20dbe8b
commit 2c9aa71c3c

View File

@@ -94,9 +94,10 @@ multilib_src_configure() {
-DLIBUNWIND_INCLUDE_TESTS=$(usex test)
-DLIBUNWIND_INSTALL_HEADERS=ON
# support non-native unwinding; given it's small enough,
# enable it unconditionally
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
# cross-unwinding increases unwinding footprint (to account
# for the worst case) and causes some breakage on AArch64
# https://github.com/llvm/llvm-project/issues/152549
-DLIBUNWIND_ENABLE_CROSS_UNWINDING=OFF
# avoid dependency on libgcc_s if compiler-rt is used
-DLIBUNWIND_USE_COMPILER_RT=${use_compiler_rt}