sys-libs/llvm-libunwind: Enable cross-unwinding support in 6+
authorMichał Górny <mgorny@gentoo.org>
Sat, 20 Jan 2018 09:33:52 +0000 (10:33 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 20 Jan 2018 09:39:21 +0000 (10:39 +0100)
Closes: https://bugs.gentoo.org/645046

sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild

index 2d1f18ceeabf6258c7c44dfe9cb80aa40b532ff6..0be3b4e8c29e77a7200c4876faac3831f3c8c4ef 100644 (file)
@@ -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+=(
index d7622010ab472dd050902dcf5227f1d38fd2af9c..c102267616687ce459fc54998374297a988fb61b 100644 (file)
@@ -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+=(