diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-10-02 19:56:48 +0100 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-10-02 19:56:48 +0100 |
commit | f3313e870c74cb2406b1605cf0843eb58e78b5fb (patch) | |
tree | cf8ee48efd867ae912f2e90139a64ed497ce93e2 /pkgs/applications/emulators/retroarch/cores.nix | |
parent | 30e0247a1594bd3cc0eafba7d429df525520d672 (diff) | |
download | nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.tar nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.tar.gz nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.tar.bz2 nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.tar.lz nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.tar.xz nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.tar.zst nixpkgs-f3313e870c74cb2406b1605cf0843eb58e78b5fb.zip |
libretro.parallel-n64: return aarch64 patch
Diffstat (limited to 'pkgs/applications/emulators/retroarch/cores.nix')
-rw-r--r-- | pkgs/applications/emulators/retroarch/cores.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index b06e3f7e1a5..d1ef6521594 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -619,6 +619,10 @@ in license = lib.licenses.gpl3Only; extraBuildInputs = [ libGLU libGL libpng ]; makefile = "Makefile"; + 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 + ''; }; pcsx2 = mkLibRetroCore { |