-ifeq "$(UseStage1)" "YES"
- cd installPackage && ../$(HC) -Wall -cpp \
- --make installPackage -o installPackage \
- $(BOOTSTRAP_INC_1_UP)
-else
- cd installPackage && $(GHC) -Wall -cpp \
- --make installPackage -o installPackage \
- $(BOOTSTRAP_INC_1_UP)
-endif
-# TODO: The conditional is yucky, but we need to be able to build with stage1
-# for bindists and as installPackages/ has no Makefile, it seems hard
-# to make this nicer.
+ cd installPackage && $(FPTOOLS_TOP_ABS)/compiler/stage1/ghc-inplace \
+ --make installPackage -o installPackage \
+ $(DEPLOYMENT_OPTS)