blob: fa96b7d6147817b4a2e4b5cc02d7dd55cbf5cc2d (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
|
Description: Add aarch64 (arm64) support
Author: Colin Watson <cjwatson@ubuntu.com>
Forwarded: no
Last-Update: 2014-03-18
Index: b/Xvnc/config/cf/Imake.cf
===================================================================
--- a/Xvnc/config/cf/Imake.cf
+++ b/Xvnc/config/cf/Imake.cf
@@ -700,6 +700,10 @@
# define s390Architecture
# undef __s390__
# endif /* s390 */
+# ifdef __aarch64__
+# define AArch64Architecture
+# undef __aarch64__
+# endif /* __arch64__ */
# ifdef __alpha
# define AlphaArchitecture
# undef __alpha
Index: b/Xvnc/config/cf/linux.cf
===================================================================
--- a/Xvnc/config/cf/linux.cf
+++ b/Xvnc/config/cf/linux.cf
@@ -305,6 +305,14 @@
#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#endif /* PowerPCArchitecture */
+#ifdef AArch64Architecture
+#define DefaultCCOptions -fsigned-char
+#define OptimizedCDebugFlags -O2
+#define LinuxMachineDefines -D__aarch64__
+#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
+#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+#endif /* AArch64Architecture */
+
#ifdef ArmArchitecture
#define DefaultCCOptions -fsigned-char
#define OptimizedCDebugFlags -O2
|