From: Michał Górny Date: Sat, 20 Jan 2018 09:33:52 +0000 (+0100) Subject: sys-libs/llvm-libunwind: Enable cross-unwinding support in 6+ X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=82239d2f05f6b9a836d2fc53d5efbfd2fd68782a;p=gentoo.git sys-libs/llvm-libunwind: Enable cross-unwinding support in 6+ Closes: https://bugs.gentoo.org/645046 --- diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild index 2d1f18ceeabf..0be3b4e8c29e 100644 --- a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild +++ b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild @@ -60,6 +60,10 @@ multilib_src_configure() { -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug) -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs) -DLLVM_INCLUDE_TESTS=$(usex test) + + # support non-native unwinding; given it's small enough, + # enable it unconditionally + -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON ) if use test; then mycmakeargs+=( diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild index d7622010ab47..c10226761668 100644 --- a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild +++ b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild @@ -59,6 +59,10 @@ multilib_src_configure() { -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug) -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs) -DLLVM_INCLUDE_TESTS=$(usex test) + + # support non-native unwinding; given it's small enough, + # enable it unconditionally + -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON ) if use test; then mycmakeargs+=(