commit:     70af9d97f2a7c7f97e49c6e3f4fb88265caa67d3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 16:31:49 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 16:31:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70af9d97

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 <AT> gentoo.org>

 sys-libs/compiler-rt/compiler-rt-19.1.4.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

Reply via email to