summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-30 20:43:14 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-30 20:47:49 -0400
commit42b1fb27605a377bf5fb0fc51523a0b6ddaf3938 (patch)
tree8c1f71b3e24e84e4601607ad31ddf4c3d36773e8 /app-emulation/vkd3d-proton
parentapp-emulation/dxvk: filter -mfunction-return=thunk for mingw (diff)
downloadgentoo-42b1fb27605a377bf5fb0fc51523a0b6ddaf3938.tar.gz
gentoo-42b1fb27605a377bf5fb0fc51523a0b6ddaf3938.tar.bz2
gentoo-42b1fb27605a377bf5fb0fc51523a0b6ddaf3938.zip
app-emulation/vkd3d-proton: 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>
Diffstat (limited to 'app-emulation/vkd3d-proton')
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild1
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild1
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild
index 28c3a4f0432a..e1fb77d5a968 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild
@@ -99,6 +99,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/vkd3d-proton/vkd3d-proton-2.7.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
index 05601ba66fda..c811046e551a 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild
@@ -104,6 +104,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/vkd3d-proton/vkd3d-proton-9999.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
index c03df3dfc0ee..43ceb602df36 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
@@ -106,6 +106,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