This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 9b05547166068795a56bf2be05423af1314c6ce8
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Wed Sep 23 03:30:43 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Sep 23 19:34:04 2026 +0000

    configure: define atomics_native as any real atomics implementation
    
    atomics_os2 was not a backend. It has no compat directory and nothing
    reads it. It aliased stdatomic without a target guard, so it enabled
    atomics_native on every platform with C11 atomics as a side effect,
    only to satisfy the os2threads dependency on OS/2.
    
    State the rule directly instead. atomics_native is stdatomic or the
    win32 compat backend, and every non-pthread thread backend depends on
    it. os2threads stays enabled exactly when stdatomic is available, and
    the shared protocol can depend on atomics_native alone, without the
    internal stdatomic check as a dependency.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/configure b/configure
index 60aa50be94..044409acdd 100755
--- a/configure
+++ b/configure
@@ -2281,11 +2281,6 @@ THREADS_LIST="
     w32threads
 "
 
-ATOMICS_LIST="
-    atomics_win32
-    atomics_os2
-"
-
 AUTODETECT_LIBS="
     $EXTERNAL_AUTODETECT_LIBRARY_LIST
     $HWACCEL_AUTODETECT_LIBRARY_LIST
@@ -3017,8 +3012,7 @@ valgrind_backtrace_conflict="optimizations"
 valgrind_backtrace_deps="valgrind_valgrind_h"
 
 # threading support
-atomics_os2_if="stdatomic"
-atomics_native_if_any="$ATOMICS_LIST"
+atomics_native_if_any="stdatomic atomics_win32"
 w32threads_deps="atomics_native"
 os2threads_deps="atomics_native"
 threads_if_any="$THREADS_LIST"
@@ -4086,7 +4080,7 @@ schannel_conflict="openssl gnutls libtls mbedtls"
 sctp_protocol_deps="struct_sctp_event_subscribe struct_msghdr_msg_flags"
 sctp_protocol_select="network"
 securetransport_conflict="openssl gnutls libtls mbedtls"
-shared_protocol_deps_any="stdatomic atomics_native"
+shared_protocol_deps="atomics_native"
 srtp_protocol_select="rtp_protocol srtp"
 tcp_protocol_select="network"
 tls_protocol_deps_any="gnutls openssl schannel securetransport libtls mbedtls"

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to