1 |
commit: 42b1fb27605a377bf5fb0fc51523a0b6ddaf3938 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 00:43:14 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 00:47:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b1fb27 |
7 |
|
8 |
app-emulation/vkd3d-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/vkd3d-proton/vkd3d-proton-2.6.ebuild | 1 + |
18 |
app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild | 1 + |
19 |
app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild | 1 + |
20 |
3 files changed, 3 insertions(+) |
21 |
|
22 |
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild |
23 |
index 28c3a4f0432a..e1fb77d5a968 100644 |
24 |
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild |
25 |
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild |
26 |
@@ -99,6 +99,7 @@ src_configure() { |
27 |
filter-flags '-fstack-clash-protection' #758914 |
28 |
filter-flags '-fstack-protector*' #870136 |
29 |
filter-flags '-fuse-ld=*' |
30 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
31 |
fi |
32 |
|
33 |
CHOST_amd64=x86_64-w64-mingw32 |
34 |
|
35 |
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild |
36 |
index 05601ba66fda..c811046e551a 100644 |
37 |
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild |
38 |
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild |
39 |
@@ -104,6 +104,7 @@ src_configure() { |
40 |
filter-flags '-fstack-clash-protection' #758914 |
41 |
filter-flags '-fstack-protector*' #870136 |
42 |
filter-flags '-fuse-ld=*' |
43 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
44 |
fi |
45 |
|
46 |
CHOST_amd64=x86_64-w64-mingw32 |
47 |
|
48 |
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild |
49 |
index c03df3dfc0ee..43ceb602df36 100644 |
50 |
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild |
51 |
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild |
52 |
@@ -106,6 +106,7 @@ src_configure() { |
53 |
filter-flags '-fstack-clash-protection' #758914 |
54 |
filter-flags '-fstack-protector*' #870136 |
55 |
filter-flags '-fuse-ld=*' |
56 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
57 |
fi |
58 |
|
59 |
CHOST_amd64=x86_64-w64-mingw32 |