commit:     82239d2f05f6b9a836d2fc53d5efbfd2fd68782a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 09:33:52 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 09:39:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82239d2f

sys-libs/llvm-libunwind: Enable cross-unwinding support in 6+

Closes: https://bugs.gentoo.org/645046

 sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild | 4 ++++
 sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild     | 4 ++++
 2 files changed, 8 insertions(+)

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 2d1f18ceeab..0be3b4e8c29 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 d7622010ab4..c1022676166 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+=(

Reply via email to