summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-27 12:41:42 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-03-27 12:42:18 -0400
commitbe99a32ec48a71a63610960ecb026c9e7b80e46c (patch)
tree5c907591727eeb5f63e8b79f024a6b075111f5ec /app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
parentapp-emulation/dxvk: mark as LTO unsafe (diff)
downloadgentoo-be99a32ec48a71a63610960ecb026c9e7b80e46c.tar.gz
gentoo-be99a32ec48a71a63610960ecb026c9e7b80e46c.tar.bz2
gentoo-be99a32ec48a71a63610960ecb026c9e7b80e46c.zip
app-emulation/vkd3d-proton: mark as LTO unsafe
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild')
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
index 912055248d4b..32e103ce091f 100644
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
+++ b/app-emulation/vkd3d-proton/vkd3d-proton-2.6-r1.ebuild
@@ -105,6 +105,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