diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-24 17:49:30 +0100 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-09-24 17:49:30 +0100 |
commit | 75d6a892f8844227548518afd7284d853237458d (patch) | |
tree | 4a95809971fbfd8bb91444b89a7d81ef6a84c9af /pkgs/applications/emulators/retroarch/cores.nix | |
parent | caf860b2406178cd7ff05b322a7cc60a3bc78a77 (diff) | |
download | nixpkgs-75d6a892f8844227548518afd7284d853237458d.tar nixpkgs-75d6a892f8844227548518afd7284d853237458d.tar.gz nixpkgs-75d6a892f8844227548518afd7284d853237458d.tar.bz2 nixpkgs-75d6a892f8844227548518afd7284d853237458d.tar.lz nixpkgs-75d6a892f8844227548518afd7284d853237458d.tar.xz nixpkgs-75d6a892f8844227548518afd7284d853237458d.tar.zst nixpkgs-75d6a892f8844227548518afd7284d853237458d.zip |
libretro.parallel-n64: add missing Make flags
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 061267b2388..216d9c14df2 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -714,6 +714,11 @@ in core = "parallel-n64"; extraBuildInputs = [ libGLU libGL libpng ]; makefile = "Makefile"; + makeFlags = [ + "HAVE_PARALLEL=1" + "HAVE_PARALLEL_RSP=1" + "ARCH=${stdenv.hostPlatform.parsed.cpu.name}" + ]; postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 '' sed -i -e '1 i\CPUFLAGS += -DARM_FIX -DNO_ASM -DARM_ASM -DDONT_WANT_ARM_OPTIMIZATIONS -DARM64' Makefile \ && sed -i -e 's,CPUFLAGS :=,,g' Makefile |