media-libs/x264: disable asm for armv5
authorMarkus Meier <maekke@gentoo.org>
Wed, 8 Mar 2017 21:33:32 +0000 (22:33 +0100)
committerMarkus Meier <maekke@gentoo.org>
Wed, 8 Mar 2017 21:33:59 +0000 (22:33 +0100)
Package-Manager: Portage-2.3.4, Repoman-2.3.2

media-libs/x264/x264-0.0.20160712.ebuild
media-libs/x264/x264-9999.ebuild

index de47d5f3e0267b144e03dc5bc67b1f7263fb1515..e69dab36e1c3f5fa7083a81b94c00f6e9bdfead3 100644 (file)
@@ -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
 
index 52b983066162d0dfdca90fda84566a4320a81f83..ad54c5cdf91ba813a2ab58ec4362e5c4408292c9 100644 (file)
@@ -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