[project @ 2000-03-14 01:30:21 by sof]
authorsof <unknown>
Tue, 14 Mar 2000 01:30:21 +0000 (01:30 +0000)
committersof <unknown>
Tue, 14 Mar 2000 01:30:21 +0000 (01:30 +0000)
When booting, pass in --target to gmp/

ghc/rts/Makefile

index 59d516a..35322ae 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.17 2000/01/13 14:34:03 hwloidl Exp $
+# $Id: Makefile,v 1.18 2000/03/14 01:30:21 sof Exp $
 #
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -126,7 +126,9 @@ endif
 
 ifneq "$(HaveLibGmp)" "YES"
 boot ::
-       cd gmp && ./configure
+       if [ ! -f gmp/configure ] ; then ( cd gmp && echo ${SED} && autoconf SED= ); fi;
+       cd gmp && ./configure --target=$(HOSTPLATFORM)
+# Slight cheatage here to past host as target, but x-compilation isn't supported by ghc.
 
 all :: gmp/libgmp.a