diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2020-09-05 16:00:00 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-09-05 14:54:13 -0400 |
commit | 295166a86e96aef23f9cc311e71eb29556aaeaa4 (patch) | |
tree | 7759ce8603a422f8448dd1a2b83feb16a5f4c80f /media-libs/x264 | |
parent | dev-perl/File-Slurper: Bump to version 0.12.0 (diff) | |
download | gentoo-295166a86e96aef23f9cc311e71eb29556aaeaa4.tar.gz gentoo-295166a86e96aef23f9cc311e71eb29556aaeaa4.tar.bz2 gentoo-295166a86e96aef23f9cc311e71eb29556aaeaa4.zip |
media-libs/x264: Set special value of AS to fix build failure.
Closes: https://bugs.gentoo.org/721026
Closes: https://bugs.gentoo.org/724676
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-libs/x264')
-rw-r--r-- | media-libs/x264/x264-0.0.20190214.ebuild | 7 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20190903-r1.ebuild | 7 | ||||
-rw-r--r-- | media-libs/x264/x264-0.0.20190903.ebuild | 7 | ||||
-rw-r--r-- | media-libs/x264/x264-9999.ebuild | 7 |
4 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/x264/x264-0.0.20190214.ebuild b/media-libs/x264/x264-0.0.20190214.ebuild index a181239df0dc..7868773a08dc 100644 --- a/media-libs/x264/x264-0.0.20190214.ebuild +++ b/media-libs/x264/x264-0.0.20190214.ebuild @@ -32,6 +32,13 @@ DOCS=( AUTHORS doc/{ratecontrol,regression_test,standards,threads,vui}.txt ) multilib_src_configure() { tc-export CC + + if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then + export AS="nasm" + else + export AS="${CC}" + fi + local asm_conf="" if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !altivec ; }; then diff --git a/media-libs/x264/x264-0.0.20190903-r1.ebuild b/media-libs/x264/x264-0.0.20190903-r1.ebuild index e65caa445b83..453ed7982ff2 100644 --- a/media-libs/x264/x264-0.0.20190903-r1.ebuild +++ b/media-libs/x264/x264-0.0.20190903-r1.ebuild @@ -34,6 +34,13 @@ PATCHES=("${FILESDIR}"/${P}-STRINGS.patch) multilib_src_configure() { tc-export CC + + if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then + export AS="nasm" + else + export AS="${CC}" + fi + local asm_conf="" if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !cpu_flags_ppc_altivec ; }; then diff --git a/media-libs/x264/x264-0.0.20190903.ebuild b/media-libs/x264/x264-0.0.20190903.ebuild index 920c68806131..1a64a1a46129 100644 --- a/media-libs/x264/x264-0.0.20190903.ebuild +++ b/media-libs/x264/x264-0.0.20190903.ebuild @@ -32,6 +32,13 @@ DOCS=( AUTHORS doc/{ratecontrol,regression_test,standards,threads,vui}.txt ) multilib_src_configure() { tc-export CC + + if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then + export AS="nasm" + else + export AS="${CC}" + fi + local asm_conf="" if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !cpu_flags_ppc_altivec ; }; then diff --git a/media-libs/x264/x264-9999.ebuild b/media-libs/x264/x264-9999.ebuild index 83de5d6c78bb..1d20cc1b73ee 100644 --- a/media-libs/x264/x264-9999.ebuild +++ b/media-libs/x264/x264-9999.ebuild @@ -32,6 +32,13 @@ DOCS=( AUTHORS doc/{ratecontrol,regression_test,standards,threads,vui}.txt ) multilib_src_configure() { tc-export CC + + if [[ ${ABI} == x86 || ${ABI} == amd64 ]]; then + export AS="nasm" + else + export AS="${CC}" + fi + local asm_conf="" if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]] || [[ ${ABI} == ppc* ]] && { use !cpu_flags_ppc_altivec ; }; then |