summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2017-03-08 22:33:32 +0100
committerMarkus Meier <maekke@gentoo.org>2017-03-08 22:33:59 +0100
commit6ff95afeb6a7f095603fc043047621b0cf160fae (patch)
treebdbc92fd31d8629a43f5106b93081fd014a71eaf /media-libs
parentsys-libs/libcxx: Enable libunwind by default (diff)
downloadgentoo-6ff95afeb6a7f095603fc043047621b0cf160fae.tar.gz
gentoo-6ff95afeb6a7f095603fc043047621b0cf160fae.tar.bz2
gentoo-6ff95afeb6a7f095603fc043047621b0cf160fae.zip
media-libs/x264: disable asm for armv5
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/x264/x264-0.0.20160712.ebuild2
-rw-r--r--media-libs/x264/x264-9999.ebuild4
2 files changed, 3 insertions, 3 deletions
diff --git a/media-libs/x264/x264-0.0.20160712.ebuild b/media-libs/x264/x264-0.0.20160712.ebuild
index de47d5f3e026..e69dab36e1c3 100644
--- a/media-libs/x264/x264-0.0.20160712.ebuild
+++ b/media-libs/x264/x264-0.0.20160712.ebuild
@@ -38,7 +38,7 @@ multilib_src_configure() {
tc-export CC
local asm_conf=""
- if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]]; then
+ if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]]; then
asm_conf=" --disable-asm"
fi
diff --git a/media-libs/x264/x264-9999.ebuild b/media-libs/x264/x264-9999.ebuild
index 52b983066162..ad54c5cdf91b 100644
--- a/media-libs/x264/x264-9999.ebuild
+++ b/media-libs/x264/x264-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -38,7 +38,7 @@ multilib_src_configure() {
tc-export CC
local asm_conf=""
- if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]]; then
+ if [[ ${ABI} == x86* ]] && { use pic || use !cpu_flags_x86_sse ; } || [[ ${ABI} == "x32" ]] || [[ ${CHOST} == armv5* ]]; then
asm_conf=" --disable-asm"
fi