Commit 27218ba7 authored by Simon Marlow's avatar Simon Marlow

use the right $(HC) for stage 3

parent fb0318e2
......@@ -858,6 +858,9 @@ HS_IFACES = $(addsuffix .$(way_)hi,$(basename $(HS_OBJS)))
# Haddock can't handle recursive modules currently, so we disable it for now.
NO_HADDOCK_DOCS = YES
# Tell package.mk not to set $(HC)
NO_SET_HC = YES
# The stage 2 GHC binary itself is built by compiling main/Main.hs
# (the same as used in stage 1) against the GHC package.
#
......
......@@ -141,7 +141,9 @@ endif # $(way) == ""
SRC_HSC2HS_OPTS += -I.
ifneq "$(NO_SET_HC)" "YES"
HC = $(GHC_INPLACE)
endif
IGNORE_PACKAGE_FLAG = -package-name $(PACKAGE)-$(VERSION)
ifeq "$(NON_HS_PACKAGE)" ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment