www-client/chromium: set target_arch=x32 when appropriate
authorMike Gilbert <floppym@gentoo.org>
Fri, 29 Jul 2016 20:07:08 +0000 (16:07 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 29 Jul 2016 20:07:08 +0000 (16:07 -0400)
Bug: https://bugs.gentoo.org/589978

Package-Manager: portage-2.3.0_p16

www-client/chromium/chromium-53.0.2785.21.ebuild

index ad4ba42de5d99660852ebbebefc1e473d4159c14..efad06eb47977533c8a5f14d0d5126f5859df408 100644 (file)
@@ -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