[PATCH] configure: add 'softfloat' vendor as recognized (arm*-softfloat-* triplets)

Sergei Trofimovich slyich at gmail.com
Sun Jun 26 23:31:53 CEST 2011


From: Sergei Trofimovich <slyfox at gentoo.org>

The patch fixes recognition of 'softfloat' targets as valid:
    ghc $ ./configure --build=armv5tel-softfloat-linux-gnueabi \
                      --host=armv5tel-softfloat-linux-gnueabi \
                      --target=armv5tel-softfloat-linux-gnueabi
    checking for gfind... no
    checking for find... /usr/bin/find
    checking for sort... /usr/bin/sort
    checking for GHC version date... inferred 7.1.20110626
    checking for ghc... /usr/bin/ghc
    checking version of ghc... 7.0.4
    checking build system type... armv5tel-softfloat-linux-gnueabi
    checking host system type... armv5tel-softfloat-linux-gnueabi
    checking target system type... armv5tel-softfloat-linux-gnueabi
    Unknown vendor softfloat

Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
---
 aclocal.m4 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index d6b97fe..f8dafac 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1523,6 +1523,9 @@ AC_DEFUN([GHC_CONVERT_VENDOR],[
   pc|gentoo) # like i686-pc-linux-gnu and i686-gentoo-freebsd8
     $2="unknown"
     ;;
+  softfloat) # like armv5tel-softfloat-linux-gnueabi
+    $2="unknown"
+    ;;
   *)
     #pass thru by default
     $2="$1"
-- 
1.7.3.4




More information about the Cvs-ghc mailing list