From a21051f8ceacb84df069bda7f794cc3b83f29a43 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Thu, 25 May 2023 19:15:23 -0400 Subject: games-emulation/pcsx2: filter-lto with USE=vulkan Signed-off-by: Ionen Wolkens --- games-emulation/pcsx2/pcsx2-9999.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'games-emulation/pcsx2/pcsx2-9999.ebuild') 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) -- cgit v1.2.3-65-gdbad