From fc0173ae8649de6879de656f1f4164c123b17d1c Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Mon, 24 May 2010 02:16:37 +0000
Subject: [PATCH] Translate machine type 'x86_64' to 'x64'.

---
 src/build/Common.gmake | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/build/Common.gmake b/src/build/Common.gmake
index 7b84d6159b..e006289616 100644
--- a/src/build/Common.gmake
+++ b/src/build/Common.gmake
@@ -1,6 +1,6 @@
 # build/Common.gmake
 #
-# Global build system setup file
+# Global build system setup file (for GNU Make and gcc)
 #
 # $Id$
 #
@@ -8,7 +8,7 @@
 # @format.tab-size 4		(Plain Text/Source Code File Header)			#
 # @format.use-tabs true	(see http://www.synchro.net/ptsc_hdr.html)			#
 #																			#
-# Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html		#
+# Copyright 2010 Rob Swindell - http://www.synchro.net/copyright.html		#
 #																			#
 # This program is free software; you can redistribute it and/or				#
 # modify it under the terms of the GNU General Public License				#
@@ -198,6 +198,9 @@ os      :=	$(shell echo $(os) | tr '[A-Z]' '[a-z]' | tr ' ' '_')
 
 machine		:=	$(shell if uname -m | egrep -v "(i[3456789]*|x)86" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi)
 machine		:=	$(shell if uname -m | egrep "64" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; else echo $(machine) ; fi)
+ifeq ($(machine),x86_64)
+ machine	:= x64	
+endif
 CFLAGS +=	-fpic
 ifeq ($(machine),sparc64)
  CFLAGS +=      -D__BIG_ENDIAN__
-- 
GitLab