summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-30 20:39:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-30 20:47:49 -0400
commit3342df6a39cb8944fcc01e5083de49a406d39b9c (patch)
treecac8ce3bad691c7c63303172878973314b637646
parentdev-python/pydbus: Stabilize 0.6.0 amd64, #878839 (diff)
downloadgentoo-3342df6a39cb8944fcc01e5083de49a406d39b9c.tar.gz
gentoo-3342df6a39cb8944fcc01e5083de49a406d39b9c.tar.bz2
gentoo-3342df6a39cb8944fcc01e5083de49a406d39b9c.zip
app-emulation/dxvk: filter -mfunction-return=thunk for mingw
Unfortunately mingw doesn't play well with many security/mitigation flags. May need to consider a mingw.eclass if keep adding more of these to every ebuilds using it. Bug: https://bugs.gentoo.org/878849 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--app-emulation/dxvk/dxvk-1.10.3.ebuild1
-rw-r--r--app-emulation/dxvk/dxvk-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/app-emulation/dxvk/dxvk-1.10.3.ebuild b/app-emulation/dxvk/dxvk-1.10.3.ebuild
index 407ca7d61bd2..bed7e219a145 100644
--- a/app-emulation/dxvk/dxvk-1.10.3.ebuild
+++ b/app-emulation/dxvk/dxvk-1.10.3.ebuild
@@ -69,6 +69,7 @@ src_configure() {
filter-flags '-fstack-clash-protection' #758914
filter-flags '-fstack-protector*' #870136
filter-flags '-fuse-ld=*'
+ filter-flags '-mfunction-return=thunk*' #878849
fi
CHOST_amd64=x86_64-w64-mingw32
diff --git a/app-emulation/dxvk/dxvk-9999.ebuild b/app-emulation/dxvk/dxvk-9999.ebuild
index 2c39ee644ea2..b2fd8989698f 100644
--- a/app-emulation/dxvk/dxvk-9999.ebuild
+++ b/app-emulation/dxvk/dxvk-9999.ebuild
@@ -69,6 +69,7 @@ src_configure() {
filter-flags '-fstack-clash-protection' #758914
filter-flags '-fstack-protector*' #870136
filter-flags '-fuse-ld=*'
+ filter-flags '-mfunction-return=thunk*' #878849
fi
CHOST_amd64=x86_64-w64-mingw32