From: Debian Python Team Date: Sun, 28 Jan 2024 13:08:13 +0000 (+0100) Subject: link_atomics_PR17777 X-Git-Tag: archive/raspbian/1.11.4-6+rpi1^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e9cc1c69ecab783aa75e32e64b3effb64d7958ae;p=scipy.git link_atomics_PR17777 =================================================================== Gbp-Pq: Name link_atomics_PR17777.patch --- diff --git a/scipy/meson.build b/scipy/meson.build index 21ea04d5..7d5cdef9 100644 --- a/scipy/meson.build +++ b/scipy/meson.build @@ -303,8 +303,7 @@ code_non_lockfree = ''' struct { uint64_t *v; } x; - return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) & - (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); + return (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); } ''' if cc.get_id() != 'msvc'