commit:     85bd6a2e4790671fd6adea1d973ff8ea1ac99ff2
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 20:07:08 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 20:07:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bd6a2e

www-client/chromium: set target_arch=x32 when appropriate

Bug: https://bugs.gentoo.org/589978

Package-Manager: portage-2.3.0_p16

 www-client/chromium/chromium-53.0.2785.21.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/www-client/chromium/chromium-53.0.2785.21.ebuild 
b/www-client/chromium/chromium-53.0.2785.21.ebuild
index ad4ba42..efad06e 100644
--- a/www-client/chromium/chromium-53.0.2785.21.ebuild
+++ b/www-client/chromium/chromium-53.0.2785.21.ebuild
@@ -476,8 +476,13 @@ src_configure() {
 
        local myarch="$(tc-arch)"
        if [[ $myarch = amd64 ]] ; then
-               target_arch=x64
-               ffmpeg_target_arch=x64
+               if [[ ${ABI} == x32 ]]; then
+                       target_arch=x32
+                       ffmpeg_target_arch=x32
+               else
+                       target_arch=x64
+                       ffmpeg_target_arch=x64
+               fi
        elif [[ $myarch = x86 ]] ; then
                target_arch=ia32
                ffmpeg_target_arch=ia32

Reply via email to