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 EE3861581D3 for ; Sat, 25 May 2024 08:26:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED9EB2BC013; Sat, 25 May 2024 08:26:20 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDF1C2BC013 for ; Sat, 25 May 2024 08:26:20 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0EF0834133B for ; Sat, 25 May 2024 08:26:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A06E6ED0 for ; Sat, 25 May 2024 08:26:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1716625531.f127c4a6b2c7ca2584b2621ea0cd96b865a3bda3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu-guest-agent/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild X-VCS-Directories: app-emulation/qemu-guest-agent/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f127c4a6b2c7ca2584b2621ea0cd96b865a3bda3 X-VCS-Branch: master Date: Sat, 25 May 2024 08:26:18 +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: 6e0834f9-6d24-415f-9524-0798a9d3b05f X-Archives-Hash: 80eec3ee22dc3a58ab18fd6688d7c203 commit: f127c4a6b2c7ca2584b2621ea0cd96b865a3bda3 Author: Krzesimir Nowak microsoft com> AuthorDate: Fri May 24 15:08:25 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 25 08:25:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f127c4a6 app-emulation/qemu-guest-agent: Fix cross-compilation issue The fix is borrowed from app-emulation/qemu. Passing cross-prefix is necessary to make meson do a cross-build, otherwise the build system will try to use intrinsics suitable for build machine instead of host machine, when building some crypto stuff. Signed-off-by: Krzesimir Nowak microsoft.com> Closes: https://github.com/gentoo/gentoo/pull/36808 Signed-off-by: Sam James gentoo.org> app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild index 7426f9441f2a..3002f6df679d 100644 --- a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild +++ b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild @@ -52,6 +52,9 @@ src_configure() { --host-cc="$(tc-getBUILD_CC)" ) + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && myconf+=( --cross-prefix="${CHOST}-" ) + edo ./configure "${myconf[@]}" }