diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-07-31 20:05:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-07-31 21:44:15 +0200 |
commit | fd0a3d077a7ec4d33caabf192c2cedb5a5e344b5 (patch) | |
tree | 2b5449a05178aff58947d2c3c12b924ad7e69b5f /sys-libs | |
parent | kde-frameworks/extra-cmake-modules: Stabilize 5.96.0 ppc64, #853325 (diff) | |
download | gentoo-fd0a3d077a7ec4d33caabf192c2cedb5a5e344b5.tar.gz gentoo-fd0a3d077a7ec4d33caabf192c2cedb5a5e344b5.tar.bz2 gentoo-fd0a3d077a7ec4d33caabf192c2cedb5a5e344b5.zip |
sys-libs/libcxxabi: Remove USE=libunwind
Remove explicit USE=libunwind since upstream broke the CMake support
we were relying on. The ebuild will now either use gcc_s or compiler-rt
+ libunwind depending on what the compiler is configured to use.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild b/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild index 81e3519d948a..308024bf9d49 100644 --- a/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-15.0.0.9999.ebuild @@ -14,18 +14,10 @@ HOMEPAGE="https://libcxxabi.llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" KEYWORDS="" -IUSE="+clang +libunwind static-libs test" +IUSE="+clang static-libs test" REQUIRED_USE="test? ( clang )" RESTRICT="!test? ( test )" -RDEPEND=" - libunwind? ( - || ( - >=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}] - >=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,${MULTILIB_USEDEP}] - ) - ) -" # in 15.x, cxxabi.h is moving from libcxx to libcxxabi RDEPEND+=" !<sys-libs/libcxx-15 @@ -74,9 +66,9 @@ multilib_src_configure() { strip-unsupported-flags fi - # link against compiler-rt instead of libgcc if we are using clang with libunwind + # link against compiler-rt instead of libgcc if this is what clang does local want_compiler_rt=OFF - if use libunwind && tc-is-clang; then + if tc-is-clang; then local compiler_rt=$($(tc-getCC) ${CFLAGS} ${CPPFLAGS} \ ${LDFLAGS} -print-libgcc-file-name) if [[ ${compiler_rt} == *libclang_rt* ]]; then @@ -94,7 +86,6 @@ multilib_src_configure() { -DLIBCXXABI_ENABLE_SHARED=ON -DLIBCXXABI_ENABLE_STATIC=$(usex static-libs) -DLIBCXXABI_INCLUDE_TESTS=$(usex test) - -DLIBCXXABI_USE_LLVM_UNWINDER=$(usex libunwind) -DLIBCXXABI_USE_COMPILER_RT=${want_compiler_rt} # upstream is omitting standard search path for this |