X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Frunghc%2FMakefile;fp=utils%2Frunghc%2FMakefile;h=654ffad6dccb8abeb39b9cf707e9a0d445a6197b;hb=3e2748164e3e2e2dc21ca511959671f0f5f2e37f;hp=a7303f97d74d81aacac1dbd20a6e384c487ada31;hpb=82dc0d197b39b6462d1a19e4c556f7acdf376ee9;p=ghc-hetmet.git diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile index a7303f9..654ffad 100644 --- a/utils/runghc/Makefile +++ b/utils/runghc/Makefile @@ -1,7 +1,13 @@ TOP=../.. include $(TOP)/mk/boilerplate.mk -HS_PROG = runghc$(exeext) +# We have two version: the inplace version compiled by the bootstrap compiler +# and the install version compiled by the stage 1 compiler +ifeq "$(stage)" "2" +HS_PROG = runghc$(exeext) +else +HS_PROG = runghc-inplace$(exeext) +endif INSTALL_PROGS += $(HS_PROG) UseGhcForCc = YES