summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2020-09-14 13:00:00 +0000
committerMike Gilbert <floppym@gentoo.org>2020-09-15 14:33:40 -0400
commit97aa0cb3357e3ce8bdd346f450772468d8b0c936 (patch)
treeb2ddbea1682f3eda2228bcb9ab4dc7f5c9795b6d /media-video/x264-encoder
parentdev-db/sqlite: Version bump (3.33.0). (diff)
downloadgentoo-97aa0cb3357e3ce8bdd346f450772468d8b0c936.tar.gz
gentoo-97aa0cb3357e3ce8bdd346f450772468d8b0c936.tar.bz2
gentoo-97aa0cb3357e3ce8bdd346f450772468d8b0c936.zip
media-video/x264-encoder: Set special value of AS to fix build failure.
Closes: https://bugs.gentoo.org/740566 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-video/x264-encoder')
-rw-r--r--media-video/x264-encoder/x264-encoder-0.0.20190214.ebuild6
-rw-r--r--media-video/x264-encoder/x264-encoder-0.0.20190903.ebuild6
-rw-r--r--media-video/x264-encoder/x264-encoder-9999.ebuild6
3 files changed, 18 insertions, 0 deletions
diff --git a/media-video/x264-encoder/x264-encoder-0.0.20190214.ebuild b/media-video/x264-encoder/x264-encoder-0.0.20190214.ebuild
index 893ddce8fed1..1c576fa216e7 100644
--- a/media-video/x264-encoder/x264-encoder-0.0.20190214.ebuild
+++ b/media-video/x264-encoder/x264-encoder-0.0.20190214.ebuild
@@ -42,6 +42,12 @@ PATCHES=( "${FILESDIR}/gpac.patch" )
src_configure() {
tc-export CC
+ if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then
+ export AS="nasm"
+ else
+ export AS="${CC}"
+ fi
+
# let upstream pick the optimization level by default
use custom-cflags || filter-flags -O?
diff --git a/media-video/x264-encoder/x264-encoder-0.0.20190903.ebuild b/media-video/x264-encoder/x264-encoder-0.0.20190903.ebuild
index 18dccd367cb0..13b167268ffb 100644
--- a/media-video/x264-encoder/x264-encoder-0.0.20190903.ebuild
+++ b/media-video/x264-encoder/x264-encoder-0.0.20190903.ebuild
@@ -42,6 +42,12 @@ PATCHES=( "${FILESDIR}/gpac.patch" )
src_configure() {
tc-export CC
+ if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then
+ export AS="nasm"
+ else
+ export AS="${CC}"
+ fi
+
# let upstream pick the optimization level by default
use custom-cflags || filter-flags -O?
diff --git a/media-video/x264-encoder/x264-encoder-9999.ebuild b/media-video/x264-encoder/x264-encoder-9999.ebuild
index 18dccd367cb0..13b167268ffb 100644
--- a/media-video/x264-encoder/x264-encoder-9999.ebuild
+++ b/media-video/x264-encoder/x264-encoder-9999.ebuild
@@ -42,6 +42,12 @@ PATCHES=( "${FILESDIR}/gpac.patch" )
src_configure() {
tc-export CC
+ if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then
+ export AS="nasm"
+ else
+ export AS="${CC}"
+ fi
+
# let upstream pick the optimization level by default
use custom-cflags || filter-flags -O?