1 |
commit: 27d7f4a53d3a3050ba26b7bee12e24a8210edf12 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 00:45:35 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 00:47:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d7f4a5 |
7 |
|
8 |
app-emulation/wine-proton: filter -mfunction-return=thunk for mingw |
9 |
|
10 |
Unfortunately mingw doesn't play well with many security/mitigation |
11 |
flags. May need to consider a mingw.eclass if keep adding more of |
12 |
these to every ebuilds using it. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/878849 |
15 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
16 |
|
17 |
app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 1 + |
18 |
app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 1 + |
19 |
2 files changed, 2 insertions(+) |
20 |
|
21 |
diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild |
22 |
index c1cd2ca3a3e2..b266c555dfea 100644 |
23 |
--- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild |
24 |
+++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild |
25 |
@@ -245,6 +245,7 @@ src_configure() { |
26 |
: "${CROSSCFLAGS:=$( |
27 |
filter-flags '-fstack-clash-protection' #758914 |
28 |
filter-flags '-fstack-protector*' #870136 |
29 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
30 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
31 |
: "${CROSSLDFLAGS:=$( |
32 |
filter-flags '-fuse-ld=*' |
33 |
|
34 |
diff --git a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild |
35 |
index 4e9166072474..93b08c4d0bfd 100644 |
36 |
--- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild |
37 |
+++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild |
38 |
@@ -245,6 +245,7 @@ src_configure() { |
39 |
: "${CROSSCFLAGS:=$( |
40 |
filter-flags '-fstack-clash-protection' #758914 |
41 |
filter-flags '-fstack-protector*' #870136 |
42 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
43 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
44 |
: "${CROSSLDFLAGS:=$( |
45 |
filter-flags '-fuse-ld=*' |