commit: ac2a5efca17cba98f6c239b788c59ba2624b7431 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Mon Oct 31 00:45:15 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Mon Oct 31 00:47:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac2a5efc
app-emulation/wine-staging: 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 <AT> gentoo.org> app-emulation/wine-staging/wine-staging-7.17.ebuild | 1 + app-emulation/wine-staging/wine-staging-7.18.ebuild | 1 + app-emulation/wine-staging/wine-staging-7.19.ebuild | 1 + app-emulation/wine-staging/wine-staging-9999.ebuild | 1 + 4 files changed, 4 insertions(+) diff --git a/app-emulation/wine-staging/wine-staging-7.17.ebuild b/app-emulation/wine-staging/wine-staging-7.17.ebuild index 2d73d3154822..58e588d7423e 100644 --- a/app-emulation/wine-staging/wine-staging-7.17.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.17.ebuild @@ -280,6 +280,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-staging/wine-staging-7.18.ebuild b/app-emulation/wine-staging/wine-staging-7.18.ebuild index 2d73d3154822..58e588d7423e 100644 --- a/app-emulation/wine-staging/wine-staging-7.18.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.18.ebuild @@ -280,6 +280,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-staging/wine-staging-7.19.ebuild b/app-emulation/wine-staging/wine-staging-7.19.ebuild index fa306bc4285b..a037d09d30ac 100644 --- a/app-emulation/wine-staging/wine-staging-7.19.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.19.ebuild @@ -278,6 +278,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-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index cdea713d3018..d80dc251c710 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -278,6 +278,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=*'