[PATCH 1/2] NetBSD: add AMD64Architecture, fix Arm32Architecture.

Thomas Klausner wiz at NetBSD.org
Thu Mar 20 03:33:40 PDT 2014


Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 Imake.cf | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Imake.cf b/Imake.cf
index 2b6c649..9e438e7 100644
--- a/Imake.cf
+++ b/Imake.cf
@@ -238,8 +238,9 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 # ifdef mc68000
 #   define Mc68020Architecture
 # endif
-# ifdef __arm32__
+# if defined(__arm__) || defined(__arm32__)
 #   define Arm32Architecture
+#   undef __arm__
 #   undef __arm32__
 # endif
 # ifdef __vax__
@@ -250,6 +251,10 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.88 2003/12/16 21:30:21 herrb Exp $
 #   define PpcArchitecture
 #   undef __powerpc__
 # endif
+# ifdef __x86_64__
+#  define AMD64Architecture
+#  undef __x86_64__
+# endif
 #endif /* NetBSD */
 
 /* Systems based on kernel of NetBSD */
-- 
1.9.0



More information about the xorg-devel mailing list