From 4bb18351808181ab8def61fa511194adc3988f4b Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 25 Sep 2023 22:14:44 +0100 Subject: [PATCH] libretro.mame: fix build --- pkgs/applications/emulators/retroarch/cores.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index a06573d0af53..2f055299adfe 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -516,15 +516,11 @@ in core = "mame"; extraNativeBuildInputs = [ python3 ]; extraBuildInputs = [ alsa-lib libGLU libGL ]; + # Setting this is breaking compilation of src/3rdparty/genie for some reason + makeFlags = [ "ARCH=" ]; meta = { description = "Port of MAME to libretro"; license = with lib.licenses; [ bsd3 gpl2Plus ]; - # Build fail with errors: - # gcc: warning: : linker input file unused because linking not done - # gcc: error: : linker input file not found: No such file or directory - # Removing it from platforms instead of marking as broken to allow - # retroarchFull to be built - platforms = [ ]; }; };