Commit dce3fd4e authored by Simon Marlow's avatar Simon Marlow
Browse files

use -fforce-recomp when compiling Main.hs against the ghc package.

This is necessary because GHC's recompilation checker doesn't check
across package boundaries.
parent 9ff76535
......@@ -46,5 +46,8 @@ odir=stage$(stage)
HS_SRCS = main/Main.hs
HS_OBJS = $(patsubst %, $(odir)/%, $(addsuffix .$(way_)o,$(basename $(HS_SRCS))))
$(odir)/main/Main.o : libHSghc$(_way).a
SRC_HC_OPTS += -fforce-recomp
# can't rely on GHC's recompilation checking here, because it won't spot
# changes in the ghc package.
include $(TOP)/mk/target.mk
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