summaryrefslogtreecommitdiff
path: root/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/dxvk/dxvk-1.10.3-r1.ebuild')
-rw-r--r--app-emulation/dxvk/dxvk-1.10.3-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild b/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
index 7c21ed2aab38..dd2598cfe637 100644
--- a/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
+++ b/app-emulation/dxvk/dxvk-1.10.3-r1.ebuild
@@ -68,6 +68,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