package/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC
Fixes http://autobuild.buildroot.net/results/69d/69d33792f2e7ec62bfe593eb4bbc8fb2652d7011/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e53da0534a
commit
fc8798197b
@ -452,6 +452,11 @@ else
|
||||
FFMPEG_CONF_OPTS += --disable-altivec
|
||||
endif
|
||||
|
||||
# Uses __atomic_fetch_add_4
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
FFMPEG_CONF_OPTS += --extra-libs=-latomic
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
FFMPEG_CONF_OPTS += --enable-pic
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user