diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-14 18:29:30 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-14 19:10:17 -0400 |
commit | dbc7d52d0a8d8559d11eb3b9f708775c7c6eaec0 (patch) | |
tree | 5bac1e9a453c02dbb00ae6aaf3545aab64d0cab9 /app-emulation | |
parent | app-emulation/wine-vanilla: filter ssp for mingw (diff) | |
download | gentoo-dbc7d52d0a8d8559d11eb3b9f708775c7c6eaec0.tar.gz gentoo-dbc7d52d0a8d8559d11eb3b9f708775c7c6eaec0.tar.bz2 gentoo-dbc7d52d0a8d8559d11eb3b9f708775c7c6eaec0.zip |
app-emulation/wine-staging: filter ssp for mingw
Bug: https://bugs.gentoo.org/870136
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine-staging/wine-staging-7.17.ebuild | 4 | ||||
-rw-r--r-- | app-emulation/wine-staging/wine-staging-9999.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app-emulation/wine-staging/wine-staging-7.17.ebuild b/app-emulation/wine-staging/wine-staging-7.17.ebuild index 945a246e3988..c8a8a5c9d77f 100644 --- a/app-emulation/wine-staging/wine-staging-7.17.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.17.ebuild @@ -277,7 +277,9 @@ src_configure() { # use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) if use mingw; then - : "${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-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index 945a246e3988..c8a8a5c9d77f 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -277,7 +277,9 @@ src_configure() { # use *FLAGS for mingw, but strip unsupported (e.g. --hash-style=gnu) if use mingw; then - : "${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})}" |