libretro.parallel-n64: return aarch64 patch

This commit is contained in:
Thiago Kenji Okada 2022-10-02 19:56:48 +01:00
parent 30e0247a15
commit f3313e870c

View file

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