[commit: ghc] master: Allow "amd64" to be recognized as an x86_64 platform. (c3b8b3a)

git at git.haskell.org git at git.haskell.org
Sat Jan 18 11:02:40 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c3b8b3ab27f092c83e08915e3de0bde29321cd31/ghc

>---------------------------------------------------------------

commit c3b8b3ab27f092c83e08915e3de0bde29321cd31
Author: Gabor Pali <pali.gabor at gmail.com>
Date:   Fri Jan 17 20:15:35 2014 +0100

    Allow "amd64" to be recognized as an x86_64 platform.


>---------------------------------------------------------------

c3b8b3ab27f092c83e08915e3de0bde29321cd31
 aclocal.m4 |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 63e8462..a30fa4f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -181,7 +181,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
         i386)
             test -z "[$]2" || eval "[$]2=ArchX86"
             ;;
-        x86_64)
+        x86_64|amd64)
             test -z "[$]2" || eval "[$]2=ArchX86_64"
             ;;
         powerpc)
@@ -1885,7 +1885,7 @@ case "$1" in
   vax)
     $2="vax"
     ;;
-  x86_64)
+  x86_64|amd64)
     $2="x86_64"
     ;;
   *)



More information about the ghc-commits mailing list