From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- sys-libs/libcxx/libcxx-11.1.0.ebuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'sys-libs/libcxx/libcxx-11.1.0.ebuild') diff --git a/sys-libs/libcxx/libcxx-11.1.0.ebuild b/sys-libs/libcxx/libcxx-11.1.0.ebuild index 26e9ff250d52..16172647c295 100644 --- a/sys-libs/libcxx/libcxx-11.1.0.ebuild +++ b/sys-libs/libcxx/libcxx-11.1.0.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://libcxx.llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~riscv x86 ~x64-macos" IUSE="elibc_glibc elibc_musl +libcxxabi +libunwind static-libs test" REQUIRED_USE="libunwind? ( libcxxabi )" RESTRICT="!test? ( test )" @@ -35,6 +35,7 @@ BDEPEND=" DOCS=( CREDITS.TXT ) LLVM_COMPONENTS=( libcxx{,abi} llvm/{cmake/modules,utils/llvm-lit} ) +LLVM_PATCHSET=11.1.0-1 llvm.org_set_globals python_check_deps() { @@ -58,14 +59,6 @@ pkg_setup() { fi } -src_prepare() { - # Add link flag "-Wl,-z,defs" to avoid underlinking; this is needed in a - # out-of-tree build. - eapply "${FILESDIR}/${PN}-3.9-cmake-link-flags.patch" - - llvm.org_src_prepare -} - test_compiler() { $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c++ - \ <<<'int main() { return 0; }' &>/dev/null -- cgit v1.2.3