diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-10-30 20:45:35 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-10-30 20:47:50 -0400 |
commit | 27d7f4a53d3a3050ba26b7bee12e24a8210edf12 (patch) | |
tree | 6326739bdffdc57d6567fa1966587696656624ec /app-emulation | |
parent | app-emulation/wine-staging: filter -mfunction-return=thunk for mingw (diff) | |
download | gentoo-27d7f4a53d3a3050ba26b7bee12e24a8210edf12.tar.gz gentoo-27d7f4a53d3a3050ba26b7bee12e24a8210edf12.tar.bz2 gentoo-27d7f4a53d3a3050ba26b7bee12e24a8210edf12.zip |
app-emulation/wine-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')
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 1 | ||||
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild index c1cd2ca3a3e2..b266c555dfea 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild @@ -245,6 +245,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=*' diff --git a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild index 4e9166072474..93b08c4d0bfd 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild @@ -245,6 +245,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=*' |