summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-11-03 09:27:40 +0000
committerJames Le Cuirot <chewi@gentoo.org>2021-11-03 09:30:03 +0000
commit623bc0030550c636104eca481e7923dbd1e9f1d5 (patch)
tree2bc58d53737a06f92870bbe61bcb6c8610167931 /media-video
parentmedia-video/ffmpeg-chromium: Version bump to 96, EAPI 8 (diff)
downloadgentoo-623bc0030550c636104eca481e7923dbd1e9f1d5.tar.gz
gentoo-623bc0030550c636104eca481e7923dbd1e9f1d5.tar.bz2
gentoo-623bc0030550c636104eca481e7923dbd1e9f1d5.zip
media-video/ffmpeg-chromium: Fix 94 on arm wrt libatomic
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ffmpeg-chromium/ffmpeg-chromium-94.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/media-video/ffmpeg-chromium/ffmpeg-chromium-94.ebuild b/media-video/ffmpeg-chromium/ffmpeg-chromium-94.ebuild
index 46851bbea181..94e036354132 100644
--- a/media-video/ffmpeg-chromium/ffmpeg-chromium-94.ebuild
+++ b/media-video/ffmpeg-chromium/ffmpeg-chromium-94.ebuild
@@ -180,6 +180,13 @@ src_configure() {
esac
fi
+ local extra_libs
+ if use arm || use ppc ; then
+ # bug #782811
+ # bug #790590
+ extra_libs+="$(test-flags-CCLD -latomic) "
+ fi
+
set -- "${S}/configure" \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
@@ -191,6 +198,7 @@ src_configure() {
--ranlib="$(tc-getRANLIB)" \
--pkg-config="$(tc-getPKG_CONFIG)" \
--optflags="${CFLAGS}" \
+ --extra-libs="${extra_libs}" \
--disable-all \
--disable-autodetect \
--disable-error-resilience \