commit: a21051f8ceacb84df069bda7f794cc3b83f29a43
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 23:15:23 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri May 26 02:38:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a21051f8
games-emulation/pcsx2: filter-lto with USE=vulkan
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-emulation/pcsx2/pcsx2-9999.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index be8593008a14..1c93197e9991 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -156,8 +156,14 @@ src_prepare() {
}
src_configure() {
- # for bundled glslang (bug #858374)
- use vulkan && append-flags -fno-strict-aliasing
+ if use vulkan; then
+ # for bundled glslang (bug #858374)
+ append-flags -fno-strict-aliasing
+
+ # odr violations in pcsx2's vulkan code, disabling as a safety
for now
+ # (vulkan support tend to receive major changes, is more on WIP
side)
+ filter-lto
+ fi
local mycmakeargs=(
$(cmake_use_find_package backtrace Libbacktrace)