1 |
commit: 6f2ea01a664058e85a60e4249b229260de666e3c |
2 |
Author: Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk> |
3 |
AuthorDate: Tue Dec 1 14:46:37 2020 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 14:49:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=6f2ea01a |
7 |
|
8 |
app-emulation/wine-vanilla: Pass CFLAGS to mingw |
9 |
|
10 |
This requires setting CROSSCFLAGS |
11 |
|
12 |
Signed-off-by: Mike Lothian <mike <AT> fireburn.co.uk> |
13 |
Closes: https://github.com/gentoo/repo-proj-wine/pull/13 |
14 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
15 |
|
16 |
.../{wine-vanilla-9999.ebuild => wine-vanilla-5.22-r2.ebuild} | 3 +++ |
17 |
app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 3 +++ |
18 |
2 files changed, 6 insertions(+) |
19 |
|
20 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild |
21 |
similarity index 99% |
22 |
copy from app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
23 |
copy to app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild |
24 |
index a422ff7..05ef8ff 100644 |
25 |
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
26 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild |
27 |
@@ -382,6 +382,9 @@ src_configure() { |
28 |
|
29 |
export LDCONFIG=/bin/true |
30 |
use custom-cflags || strip-flags |
31 |
+ if use mingw; then |
32 |
+ export CROSSCFLAGS="${CFLAGS}" |
33 |
+ fi |
34 |
|
35 |
multilib-minimal_src_configure |
36 |
} |
37 |
|
38 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
39 |
index a422ff7..05ef8ff 100644 |
40 |
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
41 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
42 |
@@ -382,6 +382,9 @@ src_configure() { |
43 |
|
44 |
export LDCONFIG=/bin/true |
45 |
use custom-cflags || strip-flags |
46 |
+ if use mingw; then |
47 |
+ export CROSSCFLAGS="${CFLAGS}" |
48 |
+ fi |
49 |
|
50 |
multilib-minimal_src_configure |
51 |
} |