mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
libretro: add aarch64 to ARCH, remove aarch64 specific code
This commit is contained in:
parent
31483211a3
commit
dab6bebe7c
@ -400,8 +400,6 @@ in
|
||||
core = "flycast";
|
||||
extraBuildInputs = [ libGL libGLU ];
|
||||
makefile = "Makefile";
|
||||
makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "platform=arm64" ];
|
||||
patches = [ ./fix-flycast-makefile.patch ];
|
||||
meta = {
|
||||
description = "Flycast libretro port";
|
||||
license = lib.licenses.gpl2Only;
|
||||
@ -735,7 +733,6 @@ in
|
||||
picodrive = mkLibretroCore {
|
||||
core = "picodrive";
|
||||
dontConfigure = true;
|
||||
makeFlags = lib.optionals stdenv.hostPlatform.isAarch64 [ "platform=aarch64" ];
|
||||
meta = {
|
||||
description = "Fast MegaDrive/MegaCD/32X emulator";
|
||||
license = "MAME";
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 01d99c30..8c2dd248 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -440,7 +440,6 @@ else ifeq ($(platform), arm64)
|
||||
CPUFLAGS += -DTARGET_LINUX_ARMv8 -frename-registers
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
CXXFLAGS += $(CPUFLAGS)
|
||||
- ASFLAGS += $(CFLAGS) -c -frename-registers -fno-strict-aliasing -ffast-math -ftree-vectorize
|
||||
PLATFORM_EXT := unix
|
||||
WITH_DYNAREC=arm64
|
||||
HAVE_GENERIC_JIT = 0
|
@ -53,6 +53,7 @@ stdenv.mkDerivation ({
|
||||
"ARCH=${{
|
||||
armv7l = "arm";
|
||||
armv6l = "arm";
|
||||
aarch64 = "arm64";
|
||||
i686 = "x86";
|
||||
}.${stdenv.hostPlatform.parsed.cpu.name} or stdenv.hostPlatform.parsed.cpu.name}"
|
||||
] ++ (args.makeFlags or [ ]);
|
||||
|
Loading…
Reference in New Issue
Block a user