commit:     befe3c626e3f90a16bbeb37ac2770e569c2c5dd9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 18:26:34 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 11:11:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befe3c62

sys-libs/llvm-libunwind: Build static libc++* for tests in -9999

Build static libc++ & libc++abi to avoid linking problems against
libgcc.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
index d4216d8cc89..a5c5c542e43 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
@@ -92,8 +92,8 @@ build_libcxxabi() {
        local BUILD_DIR=${BUILD_DIR}/libcxxabi
        local mycmakeargs=(
                -DLIBCXXABI_LIBDIR_SUFFIX=
-               -DLIBCXXABI_ENABLE_SHARED=ON
-               -DLIBCXXABI_ENABLE_STATIC=OFF
+               -DLIBCXXABI_ENABLE_SHARED=OFF
+               -DLIBCXXABI_ENABLE_STATIC=ONF
                -DLIBCXXABI_USE_LLVM_UNWINDER=ON
                -DLIBCXXABI_INCLUDE_TESTS=OFF
 
@@ -111,8 +111,8 @@ build_libcxx() {
        local BUILD_DIR=${BUILD_DIR}/libcxx
        local mycmakeargs=(
                -DLIBCXX_LIBDIR_SUFFIX=
-               -DLIBCXX_ENABLE_SHARED=ON
-               -DLIBCXX_ENABLE_STATIC=OFF
+               -DLIBCXX_ENABLE_SHARED=OFF
+               -DLIBCXX_ENABLE_STATIC=ON
                -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
                -DLIBCXXABI_USE_LLVM_UNWINDER=ON
                -DLIBCXX_CXX_ABI=libcxxabi

Reply via email to