Added linux/aarch64 as valid target.
authorJose Rubio <joserubiovidales@gmail.com>
Mon, 19 Aug 2019 14:55:11 +0000 (16:55 +0200)
committerJose Rubio <joserubiovidales@gmail.com>
Mon, 19 Aug 2019 14:55:11 +0000 (16:55 +0200)
cde/config/cf/Imake.cf
cde/config/cf/linux.cf

index e9e944ec3d7bb4f6219ef52f711521f86711bc75..b9587ddc7139d4ffd84eae8c11b2e0024e5535c6 100644 (file)
@@ -79,7 +79,7 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
 #   undef amd64
 # endif
 # if defined(__arm__)
-#   define Arm32Architecture
+#   define ARMArchitecture
 #   undef __arm__
 #   if defined(zaurus)
 #     undef zaurus
@@ -474,14 +474,19 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
 #   define AMD64Architecture
 #  endif
 # endif
-# if defined(__arm__)
-# undef __arm__
+# if defined(__arm__) || defined(__arm32__)
 # define ARMArchitecture
+#   undef __arm__
+#   undef __arm32__
 # endif
 # if defined(__sparc__) || defined(sparc)
 # define SparcArchitecture
 # undef sparc
 # endif
+# if defined(__aarch64__)
+#   define AArch64Architecture
+#   undef __aarch64__
+# endif
 #endif /* linux */
 
 #if defined(sequent) || defined(_SEQUENT_)
index 15136b8d15ee3fd59c31a9f0d191d364455ee649..a93176ad4c83934412593cd7860584244307cd7b 100644 (file)
@@ -238,6 +238,16 @@ TIRPCINC =
 # endif
 #endif /* AMD64Architecture */
 
+#ifdef AArch64Architecture
+# ifndef OptimizedCDebugFlags
+#  define OptimizedCDebugFlags -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fno-strict-aliasing
+# endif
+# define LinuxMachineDefines   -D__aarch64__
+# define ServerOSDefines   XFree86ServerOSDefines -DDDXTIME
+# define ServerExtraDefines    -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+#endif /* AArch64Architecture */
+
+
 #ifdef PpcArchitecture
 # ifndef OptimizedCDebugFlags
 #  define OptimizedCDebugFlags    DefaultGcc2i386Opt