summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-07-29 16:07:08 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-29 16:07:08 -0400
commit85bd6a2e4790671fd6adea1d973ff8ea1ac99ff2 (patch)
treef881641a5d0dd738d3da65747c9f414b8688662a /www-client
parentkde-apps/krfb: Restore 15.08.3 (diff)
downloadgentoo-85bd6a2e4790671fd6adea1d973ff8ea1ac99ff2.tar.gz
gentoo-85bd6a2e4790671fd6adea1d973ff8ea1ac99ff2.tar.bz2
gentoo-85bd6a2e4790671fd6adea1d973ff8ea1ac99ff2.zip
www-client/chromium: set target_arch=x32 when appropriate
Bug: https://bugs.gentoo.org/589978 Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'www-client')
-rw-r--r--www-client/chromium/chromium-53.0.2785.21.ebuild9
1 files 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 ad4ba42de5d9..efad06eb4797 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