commit:     26b669479490ec1d679bdbd38b836d6782f1e6c0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 19:34:40 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 19:38:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b66947

dev-util/mingw64-toolchain: filter ssp for cross mingw

Closes: https://bugs.gentoo.org/870136
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild | 1 +
 dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild 
b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild
index 0bfc818d9698..59a0022ee10b 100644
--- a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild
+++ b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild
@@ -187,6 +187,7 @@ src_compile() {
                                # cross-compiling, cleanup and let ./configure 
handle it
                                unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP 
RANLIB RC STRIP
                                CHOST=${CTARGET}
+                               filter-flags '-fstack-protector*' #870136
                                filter-flags '-fuse-ld=*'
                                strip-unsupported-flags
                                mwt-build "${@:2}"

diff --git a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1.ebuild 
b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1.ebuild
index 3b878de762bf..4ad2c7cf514f 100644
--- a/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1.ebuild
+++ b/dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1.ebuild
@@ -188,6 +188,7 @@ src_compile() {
                                # cross-compiling, cleanup and let ./configure 
handle it
                                unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP 
RANLIB RC STRIP
                                CHOST=${CTARGET}
+                               filter-flags '-fstack-protector*' #870136
                                filter-flags '-fuse-ld=*'
                                strip-unsupported-flags
                                mwt-build "${@:2}"

Reply via email to