From 7377cc78e467db609752b164f1da2ec248fdb79a Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sun, 4 Feb 2024 21:14:23 +0000 Subject: [PATCH] libretro.mame2016: workaround issues with GCC13 --- pkgs/applications/emulators/retroarch/cores.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index d52301e01408..e9133ab2c993 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -610,6 +610,8 @@ in makeFlags = [ "PYTHON_EXECUTABLE=python3" ]; # Build failures when this is set to a bigger number NIX_BUILD_CORES = 8; + # Fix build errors in GCC13 + NIX_CFLAGS_COMPILE = "-Wno-error -fpermissive"; meta = { description = "Port of MAME ~2016 to libretro, compatible with MAME 0.174 sets"; license = with lib.licenses; [ bsd3 gpl2Plus ];