* [Buildroot] [PATCH 1/1] package/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC
@ 2017-04-15 10:22 Bernd Kuhls
2017-04-16 8:43 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-04-15 10:22 UTC (permalink / raw)
To: buildroot
Fixes
http://autobuild.buildroot.net/results/69d/69d33792f2e7ec62bfe593eb4bbc8fb2652d7011/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/ffmpeg/ffmpeg.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index adc0f5d42..10e4e74d7 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -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
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC
2017-04-15 10:22 [Buildroot] [PATCH 1/1] package/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC Bernd Kuhls
@ 2017-04-16 8:43 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-04-16 8:43 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 15 Apr 2017 12:22:36 +0200, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/69d/69d33792f2e7ec62bfe593eb4bbc8fb2652d7011/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/ffmpeg/ffmpeg.mk | 5 +++++
> 1 file changed, 5 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-16 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-15 10:22 [Buildroot] [PATCH 1/1] package/ffmpeg: use BR2_TOOLCHAIN_HAS_LIBATOMIC Bernd Kuhls
2017-04-16 8:43 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox