diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-07-17 18:56:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-10-02 18:52:08 +0200 |
commit | 4e928ef340ac20325f529d92fcbc51e768085358 (patch) | |
tree | 2d08d84b7eb8e25cd4ac2032541419163149ba2d /configure | |
parent | 13f5d2bf75b95a0bfdb9940a5e359a719e242bed (diff) | |
download | ffmpeg-4e928ef340ac20325f529d92fcbc51e768085358.tar.gz |
Add a compat stdatomic.h implementation based on GCC atomics
Adapted from the code by RĂ©mi Denis-Courmont from VLC
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5073,6 +5073,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 |