From 4e426d65e2c22c89d262996ead05822a87d2bbf8 Mon Sep 17 00:00:00 2001 From: Rahguzar Date: Fri, 26 Jul 2024 10:24:32 +0200 Subject: [PATCH] Patch to build tachyon on aarch64 --- build/pkgs/tachyon/patches/Make-arch.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 build/pkgs/tachyon/patches/Make-arch.patch diff --git a/build/pkgs/tachyon/patches/Make-arch.patch b/build/pkgs/tachyon/patches/Make-arch.patch new file mode 100644 index 00000000000..81d53dda551 --- /dev/null +++ b/build/pkgs/tachyon/patches/Make-arch.patch @@ -0,0 +1,30 @@ +diff --git a/unix/Make-arch b/unix/Make-arch +index 08afb85..dbeb691 100644 +--- a/unix/Make-arch ++++ b/unix/Make-arch +@@ -1471,6 +1471,25 @@ + "RANLIB = ranlib" \ + "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" + ++# Linux Arm using gcc ++linux-arm: ++ $(MAKE) all \ ++ "ARCH = linux-arm" \ ++ "CFLAGS = -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux $(MISCFLAGS)" \ ++ "ARFLAGS = r" \ ++ "STRIP = strip" \ ++ "RANLIB = ranlib" \ ++ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" ++ ++# Linux Arm using gcc, with threads ++linux-arm-thr: ++ $(MAKE) all \ ++ "ARCH = linux-arm-thr" \ ++ "CFLAGS = -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux -DTHR -D_REENTRANT $(MISCFLAGS)" \ ++ "ARFLAGS = r" \ ++ "STRIP = strip" \ ++ "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread" ++ + # Linux x86 using gcc, threads, and OpenGL + linux-thr-ogl: + $(MAKE) all \