From: LLVM Packaging Team Date: Sat, 29 Jan 2022 09:17:38 +0000 (+0000) Subject: libcxx-armhf-ftbfs X-Git-Tag: archive/raspbian/1%12.0.1-19+rpi1^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5bae7f93557c0efab7db6d5c6b998bbdba0a0203;p=llvm-toolchain-12.git libcxx-armhf-ftbfs =================================================================== Gbp-Pq: Name libcxx-armhf-ftbfs.diff --- diff --git a/libcxx/include/atomic b/libcxx/include/atomic index 0fc799a243..19aede0542 100644 --- a/libcxx/include/atomic +++ b/libcxx/include/atomic @@ -2791,10 +2791,15 @@ typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, char>::typ typedef conditional<_LIBCPP_CONTENTION_LOCK_FREE, __cxx_contention_t, unsigned char>::type __libcpp_unsigned_lock_free; #else // No signed/unsigned lock-free types +#define NO_LOCK_FREE #endif +#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 + +#undef NO_LOCK_FREE #define ATOMIC_FLAG_INIT {false} #define ATOMIC_VAR_INIT(__v) {__v}