sys-libs/libcxxabi: Build static libc++ for tests in -9999
authorMichał Górny <mgorny@gentoo.org>
Wed, 12 Jun 2019 18:08:14 +0000 (20:08 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 13 Jun 2019 11:11:19 +0000 (13:11 +0200)
Build static libc++ to avoid linking problems against libgcc.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-libs/libcxxabi/libcxxabi-9999.ebuild

index 96050b186e9fd2c5b5febee812b230716569a4e1..9f28d04485edf447d6c9e11daeca872abca3faaf 100644 (file)
@@ -92,8 +92,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
                -DLIBCXX_CXX_ABI=libcxxabi
                -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${S}"/include