diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-14 18:29:36 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-14 19:10:17 -0400 |
commit | 7151cb7165bc6e22ae5b1eb968e626cdd734e30e (patch) | |
tree | 43b7f6d193e464ae8699382497ac83f101c8fe3b /app-emulation/wine-proton | |
parent | app-emulation/wine-staging: filter ssp for mingw (diff) | |
download | gentoo-7151cb7165bc6e22ae5b1eb968e626cdd734e30e.tar.gz gentoo-7151cb7165bc6e22ae5b1eb968e626cdd734e30e.tar.bz2 gentoo-7151cb7165bc6e22ae5b1eb968e626cdd734e30e.zip |
app-emulation/wine-proton: filter ssp for mingw
Bug: https://bugs.gentoo.org/870136
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/wine-proton')
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 4 |
2 files changed, 6 insertions, 2 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 4d1b0a1aa939..069df0440aa8 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild @@ -242,7 +242,9 @@ src_configure() { : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" # use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) - : "${CROSSCFLAGS:=$(CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" + : "${CROSSCFLAGS:=$( + filter-flags '-fstack-protector*' #870136 + CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" : "${CROSSLDFLAGS:=$( filter-flags '-fuse-ld=*' CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" 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 0df6fada339d..3e08621d9527 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild @@ -242,7 +242,9 @@ src_configure() { : "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}" # use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) - : "${CROSSCFLAGS:=$(CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" + : "${CROSSCFLAGS:=$( + filter-flags '-fstack-protector*' #870136 + CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}" : "${CROSSLDFLAGS:=$( filter-flags '-fuse-ld=*' CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}" |