summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-27 10:48:24 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-03-27 12:36:47 -0400
commit9aebd463333aa33eed184167389f15873ece6f06 (patch)
treed9365f498dfb1e4f79357fac009ad567b6211636 /app-emulation/dxvk/dxvk-2.3.ebuild
parentapp-emulation/ruffle: remove obsolete RUSTFLAGS workaround (diff)
downloadgentoo-9aebd463333aa33eed184167389f15873ece6f06.tar.gz
gentoo-9aebd463333aa33eed184167389f15873ece6f06.tar.bz2
gentoo-9aebd463333aa33eed184167389f15873ece6f06.zip
app-emulation/dxvk: mark as LTO unsafe
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/dxvk/dxvk-2.3.ebuild')
-rw-r--r--app-emulation/dxvk/dxvk-2.3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-emulation/dxvk/dxvk-2.3.ebuild b/app-emulation/dxvk/dxvk-2.3.ebuild
index ab5c0b7cb913..432cc57f5108 100644
--- a/app-emulation/dxvk/dxvk-2.3.ebuild
+++ b/app-emulation/dxvk/dxvk-2.3.ebuild
@@ -92,6 +92,11 @@ src_prepare() {
src_configure() {
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
+ # random segfaults been reported with LTO in some games, filter as
+ # a safety (note that optimizing this further won't really help
+ # performance, GPU does the actual work)
+ filter-lto
+
# -mavx with mingw-gcc has a history of obscure issues and
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
# crashes with -march=skylake >=wine-8.10, similar issues with