summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-14 19:20:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-14 19:23:42 -0400
commitc115ecb8b22853eec7abade52a3790ccffeeb4b0 (patch)
tree9860cba852d6ac1694b7582d0c53e8c2cff79cc7 /dev-util/mingw64-runtime
parentapp-emulation/vkd3d-proton: filter ssp for mingw (diff)
downloadgentoo-c115ecb8b22853eec7abade52a3790ccffeeb4b0.tar.gz
gentoo-c115ecb8b22853eec7abade52a3790ccffeeb4b0.tar.bz2
gentoo-c115ecb8b22853eec7abade52a3790ccffeeb4b0.zip
dev-util/mingw64-runtime: filter ssp for cross-compilation bits
Less likely to be an issue here given the whole crossdev involvement which may or may not have working libssp, but it seems reasonable to add and there's a way to override if needed. Bug: https://bugs.gentoo.org/870136 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util/mingw64-runtime')
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild1
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild1
-rw-r--r--dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild
index d25b7c5a8cd2..10e3e63896d7 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild
@@ -63,6 +63,7 @@ src_configure() {
# likely cross-compiling from here, update toolchain variables
if ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]]; then
unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP RANLIB RC STRIP
+ filter-flags '-fstack-protector*' #870136
filter-flags '-fuse-ld=*'
fi
local CHOST=${CTARGET}
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild
index 44937f667232..c0f96c62bc21 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild
@@ -65,6 +65,7 @@ src_configure() {
# likely cross-compiling from here, update toolchain variables
if ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]]; then
unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP RANLIB RC STRIP
+ filter-flags '-fstack-protector*' #870136
filter-flags '-fuse-ld=*'
fi
local CHOST=${CTARGET}
diff --git a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
index d0a25ce8f9c1..572a65c6bce8 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild
@@ -63,6 +63,7 @@ src_configure() {
# likely cross-compiling from here, update toolchain variables
if ${MW_CROSS} && [[ ! -v MINGW_BYPASS ]]; then
unset AR AS CC CPP CXX LD NM OBJCOPY OBJDUMP RANLIB RC STRIP
+ filter-flags '-fstack-protector*' #870136
filter-flags '-fuse-ld=*'
fi
local CHOST=${CTARGET}