Use $(HC), not $(GHC) to compile ghc-inplace
authorSimon Marlow <simonmar@microsoft.com>
Wed, 4 Jul 2007 13:57:04 +0000 (13:57 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 4 Jul 2007 13:57:04 +0000 (13:57 +0000)
commitce5c7f0db0d0b2bf0be171eb8d5fbebe7df97fcb
tree15af2e69b9667da5bd2d8dc51f6fb36813c07910
parent10ba2ab9fb729215f5e30654527a5d882a3a01f7
Use $(HC), not $(GHC) to compile ghc-inplace

$(GHC) is always the installed compiler, $(HC) changes depending on
the stage.  This has the nice effect that we build stage2/ghc-inplace
using the stage1 compiler, and get to take advantage of bugfixes in
stage1 relative to $(GHC) (in particular I want the non-blocking stdin
fix for stage2, otherwise piping the testsuite output through tee
fails).
compiler/Makefile