summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-23 16:31:49 +0000
committerSam James <sam@gentoo.org>2024-11-23 16:31:49 +0000
commit70af9d97f2a7c7f97e49c6e3f4fb88265caa67d3 (patch)
treead2bde49d9a527640e11f8b77555f3d9b6130fa9 /sys-libs
parentapp-misc/pax-utils: Stabilize 1.3.8 arm64, #942095 (diff)
downloadgentoo-70af9d97f2a7c7f97e49c6e3f4fb88265caa67d3.tar.gz
gentoo-70af9d97f2a7c7f97e49c6e3f4fb88265caa67d3.tar.bz2
gentoo-70af9d97f2a7c7f97e49c6e3f4fb88265caa67d3.zip
sys-libs/compiler-rt: restore atomic USE for 19.x
This got lost in the bump for 19.1.4 as it copied from 19.1.3 rather than 19.1.3-r1. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/compiler-rt/compiler-rt-19.1.4.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/compiler-rt/compiler-rt-19.1.4.ebuild b/sys-libs/compiler-rt/compiler-rt-19.1.4.ebuild
index 952d4bf6f6d6..88726a8977e1 100644
--- a/sys-libs/compiler-rt/compiler-rt-19.1.4.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-19.1.4.ebuild
@@ -13,7 +13,8 @@ HOMEPAGE="https://llvm.org/"
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
SLOT="${LLVM_MAJOR}"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos"
-IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
+IUSE="+abi_x86_32 abi_x86_64 +atomic-builtins +clang debug test"
+REQUIRED_USE="atomic-builtins? ( clang )"
RESTRICT="!test? ( test ) !clang? ( test )"
DEPEND="
@@ -101,6 +102,7 @@ src_configure() {
local mycmakeargs=(
-DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${LLVM_MAJOR}"
+ -DCOMPILER_RT_EXCLUDE_ATOMIC_BUILTIN=$(usex !atomic-builtins)
-DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF
-DCOMPILER_RT_BUILD_LIBFUZZER=OFF