summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-14 15:34:40 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-14 15:38:37 -0400
commit26b669479490ec1d679bdbd38b836d6782f1e6c0 (patch)
tree1a1ccc46671d4dea5d6040564b283b4dcc221307 /dev-util/mingw64-toolchain
parentsys-libs/timezone-data: Stabilize 2022c ppc64, #869827 (diff)
downloadgentoo-26b669479490ec1d679bdbd38b836d6782f1e6c0.tar.gz
gentoo-26b669479490ec1d679bdbd38b836d6782f1e6c0.tar.bz2
gentoo-26b669479490ec1d679bdbd38b836d6782f1e6c0.zip
dev-util/mingw64-toolchain: filter ssp for cross mingw
Closes: https://bugs.gentoo.org/870136 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util/mingw64-toolchain')
-rw-r--r--dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0-r1.ebuild1
-rw-r--r--dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1.ebuild1
2 files changed, 2 insertions, 0 deletions
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}"