libretro.pcsx2: use gcc12Stdenv
This commit is contained in:
parent
72cb730ea6
commit
0a88b3309a
@ -790,18 +790,18 @@ in
|
||||
xxd
|
||||
];
|
||||
makefile = "Makefile";
|
||||
cmakeFlags = [
|
||||
"-DLIBRETRO=ON"
|
||||
];
|
||||
postPatch = ''
|
||||
cmakeFlags = [ "-DLIBRETRO=ON" ];
|
||||
# remove ccache
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace "ccache" ""
|
||||
'';
|
||||
|
||||
postBuild = "cd pcsx2";
|
||||
# causes redefinition of _FORTIFY_SOURCE
|
||||
hardeningDisable = [ "fortify3" ];
|
||||
|
||||
postBuild = "cd pcsx2";
|
||||
# FIXME: multiple build errors with GCC13.
|
||||
# Unlikely to be fixed until we switch to libretro/pcsx2 that is a more
|
||||
# up-to-date port (but still WIP).
|
||||
stdenv = gcc12Stdenv;
|
||||
meta = {
|
||||
description = "Port of PCSX2 to libretro";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
@ -85,8 +85,9 @@ CORES = {
|
||||
"opera": {"repo": "opera-libretro"},
|
||||
"parallel-n64": {"repo": "parallel-n64"},
|
||||
# libretro/lrps2 is a hard-fork of pcsx2 with simplified code to target
|
||||
# only libretro, while libretro/pcsx2 is supposedly closer to upstream.
|
||||
# TODO: switch to libretro/pcsx2 since this is more up-to-date
|
||||
# only libretro, while libretro/pcsx2 is supposedly closer to upstream but
|
||||
# it is a WIP.
|
||||
# TODO: switch to libretro/pcsx2 when upstream switches to it.
|
||||
"pcsx2": {"repo": "lrps2"},
|
||||
"pcsx_rearmed": {"repo": "pcsx_rearmed"},
|
||||
"picodrive": {"repo": "picodrive", "fetch_submodules": True},
|
||||
|
Loading…
Reference in New Issue
Block a user