diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-11-28 13:24:22 -0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-12-02 16:25:17 -0300 |
commit | 3359eede8fc5f6b34b76138a44cf1b2ea45fe0a5 (patch) | |
tree | 69dbb86ba724daf0b2b0ba76598eb70da0fa980d /configure | |
parent | 4059cd395205dbd2ba66963f9d1567b8847e80b8 (diff) | |
download | ffmpeg-3359eede8fc5f6b34b76138a44cf1b2ea45fe0a5.tar.gz |
Add a compat stdatomic.h implementation based on GCC atomics
Adapted from the code by RĂ©mi Denis-Courmont from VLC
This merges libav commit 4e928ef340ac20325f529d92fcbc51e768085358.
Signed-off-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6381,6 +6381,12 @@ for thread in $THREADS_LIST; do fi done +if disabled stdatomic_h; then + if enabled atomics_gcc; then + add_cppflags '-I\$(SRC_PATH)/compat/atomics/gcc' + fi +fi + enabled zlib && add_cppflags -DZLIB_CONST # conditional library dependencies, in linking order |