games-emulation/pcsx2: disable gold linker for -9999
authorYuri Konotopov <ykonotopov@gnome.org>
Fri, 8 May 2020 08:24:45 +0000 (12:24 +0400)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 17 May 2020 16:41:51 +0000 (19:41 +0300)
See-Also: https://github.com/PCSX2/pcsx2/issues/1671
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/15710
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
games-emulation/pcsx2/pcsx2-9999.ebuild

index 0f0a49453d1f9197957c02b8f8a2980d7bb38a6e..85ff7e5fe0f74b2302ea1605cf5c7ddf0507a13f 100644 (file)
@@ -34,7 +34,6 @@ RDEPEND="
        x11-libs/libXext[abi_x86_32(-)]
        >=x11-libs/wxGTK-3.0.4-r301:3.0-gtk3[abi_x86_32(-),X]
 "
-# Ensure no incompatible headers from eselect-opengl are installed, bug #510730
 DEPEND="${RDEPEND}
        dev-cpp/pngpp
        dev-cpp/sparsehash
@@ -52,6 +51,9 @@ pkg_setup() {
 
 src_configure() {
        multilib_toolchain_setup x86
+       # Build with ld.gold fails
+       # https://github.com/PCSX2/pcsx2/issues/1671
+       tc-ld-disable-gold
 
        # pcsx2 build scripts will force CMAKE_BUILD_TYPE=Devel
        # if it something other than "Devel|Debug|Release"