diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2024-01-20 19:53:57 +0000 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2024-01-20 19:53:57 +0000 |
commit | 3db3f2455ffd3d8c0facc85e635e9781b1fe11da (patch) | |
tree | a321ef9d61bd09fc37e9a48621d03984b46cdfcb /pkgs/applications/emulators/retroarch/cores.nix | |
parent | 9fe5cee74762d8687c11151e2dfb88c77ac0b5d4 (diff) |
libretro.mupen64-plus: fix build under GCC 13
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r-- | pkgs/applications/emulators/retroarch/cores.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 185187a9e3b06..c9f97b61e6803 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -653,6 +653,11 @@ in "LLE=1" "WITH_DYNAREC=${stdenv.hostPlatform.parsed.cpu.name}" ]; + # This CXXFLAGS hack works around the GCC 13 error: + # 'uint32_t' was not declared in this scope + # It can be removed if the issue filed upstream is resolved: + # https://github.com/libretro/mupen64plus-libretro-nx/issues/515 + env.CXXFLAGS = "-include cstdint"; meta = { description = "Libretro port of Mupen64 Plus, GL only"; license = lib.licenses.gpl3Only; |