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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CCEE13835A for ; Mon, 22 Mar 2021 10:07:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73721E085E; Mon, 22 Mar 2021 10:07:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58615E0858 for ; Mon, 22 Mar 2021 10:07:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC99733BE1F for ; Mon, 22 Mar 2021 10:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A618A612 for ; Mon, 22 Mar 2021 10:07:01 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1616407588.65fe9dca1874a0e82695d1f6e3fcf5885f8562e8.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/qemu/qemu-5.2.0-r1.ebuild app-emulation/qemu/qemu-5.2.0-r2.ebuild app-emulation/qemu/qemu-5.2.0-r3.ebuild app-emulation/qemu/qemu-9999.ebuild X-VCS-Directories: app-emulation/qemu/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 65fe9dca1874a0e82695d1f6e3fcf5885f8562e8 X-VCS-Branch: master Date: Mon, 22 Mar 2021 10:07:01 +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: 5af6c05c-bd6c-4153-80d2-2c517b6961eb X-Archives-Hash: 452087c37403a97b64e9d2c5c51f9dbb commit: 65fe9dca1874a0e82695d1f6e3fcf5885f8562e8 Author: David Michael gmail com> AuthorDate: Mon Mar 22 10:06:28 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Mon Mar 22 10:06:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65fe9dca app-emulation/qemu: fix cross-compiling Closes: https://bugs.gentoo.org/766546 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Michael gmail.com> Signed-off-by: David Seifert gentoo.org> app-emulation/qemu/qemu-5.2.0-r1.ebuild | 3 +++ app-emulation/qemu/qemu-5.2.0-r2.ebuild | 3 +++ app-emulation/qemu/qemu-5.2.0-r3.ebuild | 3 +++ app-emulation/qemu/qemu-9999.ebuild | 3 +++ 4 files changed, 12 insertions(+) diff --git a/app-emulation/qemu/qemu-5.2.0-r1.ebuild b/app-emulation/qemu/qemu-5.2.0-r1.ebuild index 5050c1ffb14..40e42615651 100644 --- a/app-emulation/qemu/qemu-5.2.0-r1.ebuild +++ b/app-emulation/qemu/qemu-5.2.0-r1.ebuild @@ -570,6 +570,9 @@ qemu_src_configure() { tc-enables-pie && conf_opts+=( --enable-pie ) fi + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" ) + # Plumb through equivalent of EXTRA_ECONF to allow experiments # like bug #747928. conf_opts+=( ${EXTRA_CONF_QEMU} ) diff --git a/app-emulation/qemu/qemu-5.2.0-r2.ebuild b/app-emulation/qemu/qemu-5.2.0-r2.ebuild index ead6c2bb774..38fe3834e89 100644 --- a/app-emulation/qemu/qemu-5.2.0-r2.ebuild +++ b/app-emulation/qemu/qemu-5.2.0-r2.ebuild @@ -573,6 +573,9 @@ qemu_src_configure() { tc-enables-pie && conf_opts+=( --enable-pie ) fi + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" ) + # Plumb through equivalent of EXTRA_ECONF to allow experiments # like bug #747928. conf_opts+=( ${EXTRA_CONF_QEMU} ) diff --git a/app-emulation/qemu/qemu-5.2.0-r3.ebuild b/app-emulation/qemu/qemu-5.2.0-r3.ebuild index 063ad7becb4..62b50afd5d9 100644 --- a/app-emulation/qemu/qemu-5.2.0-r3.ebuild +++ b/app-emulation/qemu/qemu-5.2.0-r3.ebuild @@ -573,6 +573,9 @@ qemu_src_configure() { tc-enables-pie && conf_opts+=( --enable-pie ) fi + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" ) + # Plumb through equivalent of EXTRA_ECONF to allow experiments # like bug #747928. conf_opts+=( ${EXTRA_CONF_QEMU} ) diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index 1104aacd55d..b46e4085ed5 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -572,6 +572,9 @@ qemu_src_configure() { tc-enables-pie && conf_opts+=( --enable-pie ) fi + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" ) + # Plumb through equivalent of EXTRA_ECONF to allow experiments # like bug #747928. conf_opts+=( ${EXTRA_CONF_QEMU} )