From: Sergei Trofimovich <[email protected]>

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 <[email protected]>
---
 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


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to