diff options
author | Sam James <sam@gentoo.org> | 2021-05-30 10:12:28 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-30 10:12:36 +0000 |
commit | 31e3918f3db9351651fd8d4b787097c08a0ccafc (patch) | |
tree | 537c6ca34406383ff02970fe6d9eecdde6a78c0d /media-video/ffmpeg | |
parent | dev-python/websockets: Remove old (diff) | |
download | gentoo-31e3918f3db9351651fd8d4b787097c08a0ccafc.tar.gz gentoo-31e3918f3db9351651fd8d4b787097c08a0ccafc.tar.bz2 gentoo-31e3918f3db9351651fd8d4b787097c08a0ccafc.zip |
media-video/ffmpeg: fix libatomic on arm/ppc
Closes: https://bugs.gentoo.org/790590
Closes: https://bugs.gentoo.org/782811
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/ffmpeg')
-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} |