Commit 2f0d9b27 authored by Simon Marlow's avatar Simon Marlow
Browse files

don't clean ghc-inplace when cleaning stages other than 1

parent 4c7b8ec3
......@@ -680,7 +680,11 @@ $(odir)/ghc-inplace : $(HS_PROG)
ghc-inplace : stage1/ghc-inplace
$(LN_S) -f $< $@
CLEAN_FILES += $(odir)/ghc-inplace ghc-inplace
ifeq "$(stage)" "1"
CLEAN_FILES += ghc-inplace
endif
CLEAN_FILES += $(odir)/ghc-inplace
#-----------------------------------------------------------------------------
# install
......
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