From 0d115796c26f48897cbf6eb0947c2a929e9f9c36 Mon Sep 17 00:00:00 2001 From: Jose Rubio Date: Mon, 19 Aug 2019 16:55:11 +0200 Subject: [PATCH] Added linux/aarch64 as valid target. --- cde/config/cf/Imake.cf | 11 ++++++++--- cde/config/cf/linux.cf | 10 ++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/cde/config/cf/Imake.cf b/cde/config/cf/Imake.cf index e9e944ec..b9587ddc 100644 --- a/cde/config/cf/Imake.cf +++ b/cde/config/cf/Imake.cf @@ -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_) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index 15136b8d..a93176ad 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -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 -- 2.25.1