[commit: ghc] master: fix ARM hard float "detection" (351a8c6)

Simon Marlow marlowsd at gmail.com
Fri Jan 25 23:20:29 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/351a8c6bbd53ce07d687b5a96afff77c4c9910cc

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

commit 351a8c6bbd53ce07d687b5a96afff77c4c9910cc
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Fri Jan 25 20:50:43 2013 +0000

    fix ARM hard float "detection"

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

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 97592e2..02f327f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,11 +211,11 @@ AC_CANONICAL_TARGET
 # required for code generation (LLVM options)
 ARM_ABI=SOFT
 
-case $host in
-     arm*-*-linux-gnueabihf)
+case $target in
+     arm*-*-linux-gnueabihf | arm*-linux-gnueabihf)
      ARM_ABI=HARD
      ;;
-     arm*-*-linux-gnueabi)
+     arm*-*-linux-gnueabi | arm*-linux-gnueabi)
      ARM_ABI=SOFTFP
      ;;
 esac





More information about the ghc-commits mailing list