1 |
commit: ac2a5efca17cba98f6c239b788c59ba2624b7431 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 00:45:15 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=ac2a5efc |
7 |
|
8 |
app-emulation/wine-staging: 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-staging/wine-staging-7.17.ebuild | 1 + |
18 |
app-emulation/wine-staging/wine-staging-7.18.ebuild | 1 + |
19 |
app-emulation/wine-staging/wine-staging-7.19.ebuild | 1 + |
20 |
app-emulation/wine-staging/wine-staging-9999.ebuild | 1 + |
21 |
4 files changed, 4 insertions(+) |
22 |
|
23 |
diff --git a/app-emulation/wine-staging/wine-staging-7.17.ebuild b/app-emulation/wine-staging/wine-staging-7.17.ebuild |
24 |
index 2d73d3154822..58e588d7423e 100644 |
25 |
--- a/app-emulation/wine-staging/wine-staging-7.17.ebuild |
26 |
+++ b/app-emulation/wine-staging/wine-staging-7.17.ebuild |
27 |
@@ -280,6 +280,7 @@ src_configure() { |
28 |
: "${CROSSCFLAGS:=$( |
29 |
filter-flags '-fstack-clash-protection' #758914 |
30 |
filter-flags '-fstack-protector*' #870136 |
31 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
32 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
33 |
: "${CROSSLDFLAGS:=$( |
34 |
filter-flags '-fuse-ld=*' |
35 |
|
36 |
diff --git a/app-emulation/wine-staging/wine-staging-7.18.ebuild b/app-emulation/wine-staging/wine-staging-7.18.ebuild |
37 |
index 2d73d3154822..58e588d7423e 100644 |
38 |
--- a/app-emulation/wine-staging/wine-staging-7.18.ebuild |
39 |
+++ b/app-emulation/wine-staging/wine-staging-7.18.ebuild |
40 |
@@ -280,6 +280,7 @@ src_configure() { |
41 |
: "${CROSSCFLAGS:=$( |
42 |
filter-flags '-fstack-clash-protection' #758914 |
43 |
filter-flags '-fstack-protector*' #870136 |
44 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
45 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
46 |
: "${CROSSLDFLAGS:=$( |
47 |
filter-flags '-fuse-ld=*' |
48 |
|
49 |
diff --git a/app-emulation/wine-staging/wine-staging-7.19.ebuild b/app-emulation/wine-staging/wine-staging-7.19.ebuild |
50 |
index fa306bc4285b..a037d09d30ac 100644 |
51 |
--- a/app-emulation/wine-staging/wine-staging-7.19.ebuild |
52 |
+++ b/app-emulation/wine-staging/wine-staging-7.19.ebuild |
53 |
@@ -278,6 +278,7 @@ src_configure() { |
54 |
: "${CROSSCFLAGS:=$( |
55 |
filter-flags '-fstack-clash-protection' #758914 |
56 |
filter-flags '-fstack-protector*' #870136 |
57 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
58 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
59 |
: "${CROSSLDFLAGS:=$( |
60 |
filter-flags '-fuse-ld=*' |
61 |
|
62 |
diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild |
63 |
index cdea713d3018..d80dc251c710 100644 |
64 |
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild |
65 |
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild |
66 |
@@ -278,6 +278,7 @@ src_configure() { |
67 |
: "${CROSSCFLAGS:=$( |
68 |
filter-flags '-fstack-clash-protection' #758914 |
69 |
filter-flags '-fstack-protector*' #870136 |
70 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
71 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
72 |
: "${CROSSLDFLAGS:=$( |
73 |
filter-flags '-fuse-ld=*' |