From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1227411-garchives=archives.gentoo.org@lists.gentoo.org>
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 8EA2713835A
	for <garchives@archives.gentoo.org>; Tue,  1 Dec 2020 14:52:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AFE6AE083D;
	Tue,  1 Dec 2020 14:52:31 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 9A9BCE083D
	for <gentoo-commits@lists.gentoo.org>; Tue,  1 Dec 2020 14:52:31 +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 60B3934111A
	for <gentoo-commits@lists.gentoo.org>; Tue,  1 Dec 2020 14:52:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DA5E246A
	for <gentoo-commits@lists.gentoo.org>; Tue,  1 Dec 2020 14:52:28 +0000 (UTC)
From: "Nick Sarnie" <sarnex@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" <sarnex@gentoo.org>
Message-ID: <1606834158.6f2ea01a664058e85a60e4249b229260de666e3c.sarnex@gentoo>
Subject: [gentoo-commits] repo/proj/wine:master commit in: app-emulation/wine-vanilla/
X-VCS-Repository: repo/proj/wine
X-VCS-Files: app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
X-VCS-Directories: app-emulation/wine-vanilla/
X-VCS-Committer: sarnex
X-VCS-Committer-Name: Nick Sarnie
X-VCS-Revision: 6f2ea01a664058e85a60e4249b229260de666e3c
X-VCS-Branch: master
Date: Tue,  1 Dec 2020 14:52:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a8017fe1-ef3d-4cde-8111-63f6f856140f
X-Archives-Hash: 6c961b194368d6e0b0ba9900cf84b4ec

commit:     6f2ea01a664058e85a60e4249b229260de666e3c
Author:     Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk>
AuthorDate: Tue Dec  1 14:46:37 2020 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 14:49:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=6f2ea01a

app-emulation/wine-vanilla: Pass CFLAGS to mingw

This requires setting CROSSCFLAGS

Signed-off-by: Mike Lothian <mike <AT> fireburn.co.uk>
Closes: https://github.com/gentoo/repo-proj-wine/pull/13
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 .../{wine-vanilla-9999.ebuild => wine-vanilla-5.22-r2.ebuild}          | 3 +++
 app-emulation/wine-vanilla/wine-vanilla-9999.ebuild                    | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild
similarity index 99%
copy from app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
copy to app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild
index a422ff7..05ef8ff 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild
@@ -382,6 +382,9 @@ src_configure() {
 
 	export LDCONFIG=/bin/true
 	use custom-cflags || strip-flags
+	if use mingw; then
+		export CROSSCFLAGS="${CFLAGS}"
+	fi
 
 	multilib-minimal_src_configure
 }

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index a422ff7..05ef8ff 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -382,6 +382,9 @@ src_configure() {
 
 	export LDCONFIG=/bin/true
 	use custom-cflags || strip-flags
+	if use mingw; then
+		export CROSSCFLAGS="${CFLAGS}"
+	fi
 
 	multilib-minimal_src_configure
 }