Merge pull request #282403 from thiagokokada/fix-libretro-mupen64plus

libretro.mupen64-plus: fix build under GCC 13
This commit is contained in:
Thiago Kenji Okada 2024-01-20 21:07:51 +00:00 committed by GitHub
commit 7d09d935ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;