1 |
commit: 8d751cdfe6acd97b394448df4bf9f2b9d0fd4261 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 00:44:34 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=8d751cdf |
7 |
|
8 |
app-emulation/wine-vanilla: 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-vanilla/wine-vanilla-7.0-r3.ebuild | 1 + |
18 |
app-emulation/wine-vanilla/wine-vanilla-7.17.ebuild | 1 + |
19 |
app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild | 1 + |
20 |
app-emulation/wine-vanilla/wine-vanilla-7.19.ebuild | 1 + |
21 |
app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 1 + |
22 |
5 files changed, 5 insertions(+) |
23 |
|
24 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.0-r3.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.0-r3.ebuild |
25 |
index 3ec318d2b900..400fb26b9bf0 100644 |
26 |
--- a/app-emulation/wine-vanilla/wine-vanilla-7.0-r3.ebuild |
27 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-7.0-r3.ebuild |
28 |
@@ -248,6 +248,7 @@ src_configure() { |
29 |
: "${CROSSCFLAGS:=$( |
30 |
filter-flags '-fstack-clash-protection' #758914 |
31 |
filter-flags '-fstack-protector*' #870136 |
32 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
33 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
34 |
: "${CROSSLDFLAGS:=$( |
35 |
filter-flags '-fuse-ld=*' |
36 |
|
37 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.17.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.17.ebuild |
38 |
index 4ad3720b207d..2543258da0e2 100644 |
39 |
--- a/app-emulation/wine-vanilla/wine-vanilla-7.17.ebuild |
40 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-7.17.ebuild |
41 |
@@ -246,6 +246,7 @@ src_configure() { |
42 |
: "${CROSSCFLAGS:=$( |
43 |
filter-flags '-fstack-clash-protection' #758914 |
44 |
filter-flags '-fstack-protector*' #870136 |
45 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
46 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
47 |
: "${CROSSLDFLAGS:=$( |
48 |
filter-flags '-fuse-ld=*' |
49 |
|
50 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild |
51 |
index 4ad3720b207d..2543258da0e2 100644 |
52 |
--- a/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild |
53 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild |
54 |
@@ -246,6 +246,7 @@ src_configure() { |
55 |
: "${CROSSCFLAGS:=$( |
56 |
filter-flags '-fstack-clash-protection' #758914 |
57 |
filter-flags '-fstack-protector*' #870136 |
58 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
59 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
60 |
: "${CROSSLDFLAGS:=$( |
61 |
filter-flags '-fuse-ld=*' |
62 |
|
63 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.19.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.19.ebuild |
64 |
index 4ad3720b207d..2543258da0e2 100644 |
65 |
--- a/app-emulation/wine-vanilla/wine-vanilla-7.19.ebuild |
66 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-7.19.ebuild |
67 |
@@ -246,6 +246,7 @@ src_configure() { |
68 |
: "${CROSSCFLAGS:=$( |
69 |
filter-flags '-fstack-clash-protection' #758914 |
70 |
filter-flags '-fstack-protector*' #870136 |
71 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
72 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
73 |
: "${CROSSLDFLAGS:=$( |
74 |
filter-flags '-fuse-ld=*' |
75 |
|
76 |
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
77 |
index 182a3b611155..abf112c22c23 100644 |
78 |
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
79 |
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild |
80 |
@@ -246,6 +246,7 @@ src_configure() { |
81 |
: "${CROSSCFLAGS:=$( |
82 |
filter-flags '-fstack-clash-protection' #758914 |
83 |
filter-flags '-fstack-protector*' #870136 |
84 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
85 |
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" |
86 |
: "${CROSSLDFLAGS:=$( |
87 |
filter-flags '-fuse-ld=*' |