From: Ian Lynagh Date: Sun, 1 Aug 2010 00:54:32 +0000 (+0000) Subject: Remove libHSrtsmain.a before creating it X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=fa926e2e47c1a3e02e37e5446802e831e1b9ac7c Remove libHSrtsmain.a before creating it Otherwise it isn't updated properly if rts/Main.c changes --- diff --git a/rts/ghc.mk b/rts/ghc.mk index ca68b55..1ff6f62 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -464,6 +464,7 @@ endif ifneq "$(BINDIST)" "YES" rts/dist/build/libHSrtsmain.a : rts/dist/build/Main.o + "$(RM)" $(RM_OPTS) $@ "$(AR)" $(AR_OPTS) $(EXTRA_AR_ARGS) $@ $< endif