mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Mike Gilbert
parent
0168be1ce7
commit
97aa0cb335
@@ -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?
|
||||
|
||||
|
||||
@@ -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?
|
||||
|
||||
|
||||
@@ -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?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user