diff options
Diffstat (limited to 'media-video/ffmpeg/ffmpeg-4.4.ebuild')
-rw-r--r-- | media-video/ffmpeg/ffmpeg-4.4.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/media-video/ffmpeg/ffmpeg-4.4.ebuild b/media-video/ffmpeg/ffmpeg-4.4.ebuild index 111ef05ca3d1..aa2fd13df6eb 100644 --- a/media-video/ffmpeg/ffmpeg-4.4.ebuild +++ b/media-video/ffmpeg/ffmpeg-4.4.ebuild @@ -451,6 +451,13 @@ multilib_src_configure() { $(multilib_native_enable manpages) ) + local extra_libs + if use arm || use ppc ; then + # bug #782811 + # bug #790590 + extra_libs+="-latomic " + fi + set -- "${S}/configure" \ --prefix="${EPREFIX}/usr" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ @@ -465,6 +472,7 @@ multilib_src_configure() { --ranlib="$(tc-getRANLIB)" \ --pkg-config="$(tc-getPKG_CONFIG)" \ --optflags="${CFLAGS}" \ + --extra-libs="${extra_libs}" \ $(use_enable static-libs static) \ "${myconf[@]}" \ ${EXTRA_FFMPEG_CONF} |