From ec9f79e1d3358df31a704f16a76a269ccceae2b2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Dec 2022 20:03:07 +0000 Subject: gentoo auto-resync : 24:12:2022 - 20:03:07 --- games-emulation/pcsx2/files/pcsx2-1.7.3773-lto.patch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 games-emulation/pcsx2/files/pcsx2-1.7.3773-lto.patch (limited to 'games-emulation/pcsx2/files') diff --git a/games-emulation/pcsx2/files/pcsx2-1.7.3773-lto.patch b/games-emulation/pcsx2/files/pcsx2-1.7.3773-lto.patch new file mode 100644 index 000000000000..cd0574bd5653 --- /dev/null +++ b/games-emulation/pcsx2/files/pcsx2-1.7.3773-lto.patch @@ -0,0 +1,9 @@ +Don't rely on the cmake macro to pass -fno-lto to the problematic +FastJmp.cpp so that it works if users add -flto themselves. +--- a/common/CMakeLists.txt ++++ b/common/CMakeLists.txt +@@ -275,3 +275,3 @@ + +-if (USE_GCC AND CMAKE_INTERPROCEDURAL_OPTIMIZATION) ++if (USE_GCC) + # GCC LTO doesn't work with asm statements -- cgit v1.2.3