From: LLVM Packaging Team Date: Tue, 31 May 2022 12:08:49 +0000 (+0100) Subject: libcxx-armhf-ftbfs X-Git-Tag: archive/raspbian/1%14.0.4-4+rpi1~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a80e377896cd5d2349c3027dd410fde7740a81c3;p=llvm-toolchain-14.git libcxx-armhf-ftbfs =================================================================== Gbp-Pq: Name libcxx-armhf-ftbfs.diff --- diff --git a/libcxx/include/atomic b/libcxx/include/atomic index bd49367a32..161dc251b3 100644 --- a/libcxx/include/atomic +++ b/libcxx/include/atomic @@ -2696,9 +2696,13 @@ typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsigned c #endif #if !defined(_LIBCPP_NO_LOCK_FREE_TYPES) +#ifndef NO_LOCK_FREE typedef atomic<__libcpp_signed_lock_free> atomic_signed_lock_free; typedef atomic<__libcpp_unsigned_lock_free> atomic_unsigned_lock_free; #endif +#endif + +#undef NO_LOCK_FREE #define ATOMIC_FLAG_INIT {false} #define ATOMIC_VAR_INIT(__v) {__v}