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 }
