1 |
commit: 3342df6a39cb8944fcc01e5083de49a406d39b9c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 00:39:36 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=3342df6a |
7 |
|
8 |
app-emulation/dxvk: 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/dxvk/dxvk-1.10.3.ebuild | 1 + |
18 |
app-emulation/dxvk/dxvk-9999.ebuild | 1 + |
19 |
2 files changed, 2 insertions(+) |
20 |
|
21 |
diff --git a/app-emulation/dxvk/dxvk-1.10.3.ebuild b/app-emulation/dxvk/dxvk-1.10.3.ebuild |
22 |
index 407ca7d61bd2..bed7e219a145 100644 |
23 |
--- a/app-emulation/dxvk/dxvk-1.10.3.ebuild |
24 |
+++ b/app-emulation/dxvk/dxvk-1.10.3.ebuild |
25 |
@@ -69,6 +69,7 @@ src_configure() { |
26 |
filter-flags '-fstack-clash-protection' #758914 |
27 |
filter-flags '-fstack-protector*' #870136 |
28 |
filter-flags '-fuse-ld=*' |
29 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
30 |
fi |
31 |
|
32 |
CHOST_amd64=x86_64-w64-mingw32 |
33 |
|
34 |
diff --git a/app-emulation/dxvk/dxvk-9999.ebuild b/app-emulation/dxvk/dxvk-9999.ebuild |
35 |
index 2c39ee644ea2..b2fd8989698f 100644 |
36 |
--- a/app-emulation/dxvk/dxvk-9999.ebuild |
37 |
+++ b/app-emulation/dxvk/dxvk-9999.ebuild |
38 |
@@ -69,6 +69,7 @@ src_configure() { |
39 |
filter-flags '-fstack-clash-protection' #758914 |
40 |
filter-flags '-fstack-protector*' #870136 |
41 |
filter-flags '-fuse-ld=*' |
42 |
+ filter-flags '-mfunction-return=thunk*' #878849 |
43 |
fi |
44 |
|
45 |
CHOST_amd64=x86_64-w64-mingw32 |