From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C34E0158090 for ; Fri, 6 May 2022 17:27:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D11F7E0833; Fri, 6 May 2022 17:27:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B662FE0833 for ; Fri, 6 May 2022 17:27:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A532341C84 for ; Fri, 6 May 2022 17:27:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C73AD439 for ; Fri, 6 May 2022 17:27:04 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1651858018.a21438f69e4bb2a0ecebbfa2cd49a7fb9d6d7587.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-101.0.4951.54.ebuild X-VCS-Directories: www-client/chromium/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: a21438f69e4bb2a0ecebbfa2cd49a7fb9d6d7587 X-VCS-Branch: master Date: Fri, 6 May 2022 17:27:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 38223a5c-cbd6-43ff-b8aa-f792f7e28b13 X-Archives-Hash: d50b6312f98f98f3af111c3257d061d4 commit: a21438f69e4bb2a0ecebbfa2cd49a7fb9d6d7587 Author: Stephan Hartmann gentoo org> AuthorDate: Fri May 6 17:26:35 2022 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Fri May 6 17:26:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a21438f6 www-client/chromium: fix cross-compile for ppc64/x86 Signed-off-by: Stephan Hartmann gentoo.org> www-client/chromium/chromium-101.0.4951.54.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/www-client/chromium/chromium-101.0.4951.54.ebuild b/www-client/chromium/chromium-101.0.4951.54.ebuild index 7c93391a4534..f9008a0c83e7 100644 --- a/www-client/chromium/chromium-101.0.4951.54.ebuild +++ b/www-client/chromium/chromium-101.0.4951.54.ebuild @@ -761,6 +761,14 @@ src_configure() { # Disable fatal linker warnings, bug 506268. myconf_gn+=" fatal_linker_warnings=false" + # Disable external code space for V8 for ppc64. It is disabled for ppc64 + # by default, but cross-compiling on amd64 enables it again. + if tc-is-cross-compiler; then + if ! use amd64 && ! use arm64; then + myconf_gn+=" v8_enable_external_code_space=false" + fi + fi + # Bug 491582. export TMPDIR="${WORKDIR}/temp" mkdir -p -m 755 "${TMPDIR}" || die