[project @ 2002-01-30 16:27:34 by simonmar]
authorsimonmar <unknown>
Wed, 30 Jan 2002 16:27:34 +0000 (16:27 +0000)
committersimonmar <unknown>
Wed, 30 Jan 2002 16:27:34 +0000 (16:27 +0000)
Set $(HC) *after* including boilerplate.mk, which re-defines it.

ghc/rts/Makefile

index 3bd7234..4d95ac4 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.58 2002/01/30 12:17:21 simonmar Exp $
+# $Id: Makefile,v 1.59 2002/01/30 16:27:34 simonmar Exp $
 #
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -21,13 +21,14 @@ TOP=..
 # set of suffix rules for compiling C code, using $(HC) rather than $(CC)
 # and prepending "-optc" to $(CC_OPTS).  NB. must be done before including
 # boilerplate.mk below.
-HC=$(GHC_INPLACE)
 ifneq "$(BootingFromHc)" "YES"
 UseGhcForCc = YES
 endif
 
 include $(TOP)/mk/boilerplate.mk
 
+HC=$(GHC_INPLACE)
+
 PACKAGE = rts
 WAYS=$(GhcLibWays)