summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-30 20:44:34 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-30 20:47:50 -0400
commit8d751cdfe6acd97b394448df4bf9f2b9d0fd4261 (patch)
treec065fb2ef00ca91d8556e6fca1532e8602dd3914 /app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild
parentapp-emulation/vkd3d-proton: filter -mfunction-return=thunk for mingw (diff)
downloadgentoo-8d751cdfe6acd97b394448df4bf9f2b9d0fd4261.tar.gz
gentoo-8d751cdfe6acd97b394448df4bf9f2b9d0fd4261.tar.bz2
gentoo-8d751cdfe6acd97b394448df4bf9f2b9d0fd4261.zip
app-emulation/wine-vanilla: 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/wine-vanilla/wine-vanilla-7.18.ebuild')
-rw-r--r--app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild
index 4ad3720b207d..2543258da0e2 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild
@@ -246,6 +246,7 @@ src_configure() {
: "${CROSSCFLAGS:=$(
filter-flags '-fstack-clash-protection' #758914
filter-flags '-fstack-protector*' #870136
+ filter-flags '-mfunction-return=thunk*' #878849
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
: "${CROSSLDFLAGS:=$(
filter-flags '-fuse-ld=*'