summaryrefslogtreecommitdiff
path: root/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-29 17:15:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-29 17:15:23 +0100
commite169149b84bc9ff33d3286d60dfab754d2e0e4be (patch)
tree45ced79750efc5d4c8dc67f998bf1061a9d9ff9b /app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
parentb83e82c4d46297f4fbe56dc8b6e149637d5d90fd (diff)
gentoo auto-resync : 29:04:2023 - 17:15:23
Diffstat (limited to 'app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild')
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
index 55490ce310fc..cb9a067747c6 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -108,10 +108,14 @@ src_configure() {
if [[ ${CHOST} != *-mingw* ]]; then
if [[ ! -v MINGW_BYPASS ]]; then
unset AR CC CXX RC STRIP WIDL
- filter-flags '-fstack-clash-protection' #758914
- filter-flags '-fstack-protector*' #870136
filter-flags '-fuse-ld=*'
filter-flags '-mfunction-return=thunk*' #878849
+ if has_version '<dev-util/mingw64-toolchain-11' ||
+ { use crossdev-mingw &&
+ has_version "<cross-$(usex x86 i686 x86_64)-w64-mingw32/mingw64-runtime-11"; }
+ then
+ filter-flags '-fstack-protector*' #870136
+ fi
fi
CHOST_amd64=x86_64-w64-mingw32