summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-30 20:46:04 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-30 20:47:51 -0400
commitec3d05a8329c95eab16c39506bfb892729c1a8ec (patch)
tree9e47b24fdc9411f67756826a806a767f1f0cc8cf /dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
parentapp-emulation/wine-proton: filter -mfunction-return=thunk for mingw (diff)
downloadgentoo-ec3d05a8329c95eab16c39506bfb892729c1a8ec.tar.gz
gentoo-ec3d05a8329c95eab16c39506bfb892729c1a8ec.tar.bz2
gentoo-ec3d05a8329c95eab16c39506bfb892729c1a8ec.zip
dev-util/mingw64-runtime: 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 'dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild')
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
index e0d15b0a5f88..7f9b3697a13d 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
@@ -66,6 +66,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
local CHOST=${CTARGET}
strip-unsupported-flags