From fca841ad33dbb0e5c6cd29950331b30ab2364d8d Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 29 Apr 2023 05:02:52 -0400 Subject: [PATCH] app-emulation/dxvk: update flags filters * -fstack-clash-protection (bug #758914): ICE was fixed, if still run into this then updating gcc to a newer _p* snapshot should sort it (alternatively, use released >=gcc-13.1.0) * -fstack-protector* (bug #870136): mingw64-runtime-11.0.0 adds its own (partial) ssp support, allowing -D_FORTIFY_SOURCE=3 and -fstack-protector-strong without libssp. Using these to build Wine currently still leads to failure, but we can allow it here. Bug: https://bugs.gentoo.org/758914 Bug: https://bugs.gentoo.org/870136 Signed-off-by: Ionen Wolkens --- app-emulation/dxvk/dxvk-1.10.3.ebuild | 8 ++++++-- app-emulation/dxvk/dxvk-2.0.ebuild | 8 ++++++-- app-emulation/dxvk/dxvk-2.1.ebuild | 8 ++++++-- app-emulation/dxvk/dxvk-2.1_p20230207.ebuild | 8 ++++++-- app-emulation/dxvk/dxvk-9999.ebuild | 8 ++++++-- 5 files changed, 30 insertions(+), 10 deletions(-) diff --git a/app-emulation/dxvk/dxvk-1.10.3.ebuild b/app-emulation/dxvk/dxvk-1.10.3.ebuild index 3995d9ee33e0e..e9f3f4344b63a 100644 --- a/app-emulation/dxvk/dxvk-1.10.3.ebuild +++ b/app-emulation/dxvk/dxvk-1.10.3.ebuild @@ -73,10 +73,14 @@ src_configure() { if [[ ${CHOST} != *-mingw* ]]; then if [[ ! -v MINGW_BYPASS ]]; then unset AR CC CXX RC STRIP - filter-flags '-fstack-clash-protection' #758914 - filter-flags '-fstack-protector*' #870136 filter-flags '-fuse-ld=*' filter-flags '-mfunction-return=thunk*' #878849 + if has_version '