summarylogtreecommitdiffstats
path: root/aarch64.patch
blob: 9ac4c2a10d140ee2c72ca4c57a6dd0e5d29c3672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.old	2020-01-18 08:44:37.000000000 +0800
+++ Makefile	2020-02-28 16:46:05.026171385 +0800
@@ -129,6 +129,12 @@
 	prefetch = yes
 endif
 
+ifeq ($(ARCH),aarch64)
+	arch = any
+	bits = 64
+	prefetch = yes
+endif
+
 ifeq ($(ARCH),ppc-32)
 	arch = ppc
 endif
@@ -166,8 +172,10 @@
 			LDFLAGS += -m$(bits)
 		endif
 	else
+	    ifneq ($(ARCH),aarch64)
 		CXXFLAGS += -m$(bits)
 		LDFLAGS += -m$(bits)
+		endif
 	endif
 
 	ifneq ($(KERNEL),Darwin)