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>
This commit is contained in:
Arfrever Frehtes Taifersar Arahesis
2020-09-14 13:00:00 +00:00
committed by Mike Gilbert
parent 0168be1ce7
commit 97aa0cb335
3 changed files with 18 additions and 0 deletions

View File

@@ -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?

View File

@@ -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?

View File

@@ -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?