diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-30 20:46:34 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-30 20:47:51 -0400 |
commit | 64c008020223a6a6a7ccacdbc02b98378f81540e (patch) | |
tree | fddb9d0446c919032e3a60a3d9e1508dade72fd2 | |
parent | dev-util/mingw64-runtime: filter -mfunction-return=thunk for mingw (diff) | |
download | gentoo-64c008020223a6a6a7ccacdbc02b98378f81540e.tar.gz gentoo-64c008020223a6a6a7ccacdbc02b98378f81540e.tar.bz2 gentoo-64c008020223a6a6a7ccacdbc02b98378f81540e.zip |
dev-util/mingw64-toolchain: 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.
Closes: https://bugs.gentoo.org/878849
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r-- | dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild index ca6dcfd5cefd..4b6d2cf8e8e0 100644 --- a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild +++ b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild @@ -191,6 +191,7 @@ src_compile() { filter-flags '-fstack-clash-protection' #758914 filter-flags '-fstack-protector*' #870136 filter-flags '-fuse-ld=*' + filter-flags '-mfunction-return=thunk*' #878849 strip-unsupported-flags mwt-build "${@:2}" ) |