Make sure the RTS is built, even when no programs are being built with stage1
authorIan Lynagh <ian@well-typed.com>
Fri, 10 May 2013 20:53:22 +0000 (21:53 +0100)
committerIan Lynagh <ian@well-typed.com>
Fri, 10 May 2013 20:53:22 +0000 (21:53 +0100)
Part of #7841

rts/ghc.mk

index 85f72b4..30f6c08 100644 (file)
@@ -24,7 +24,7 @@ rts_WAYS = $(GhcLibWays) $(filter-out $(GhcLibWays),$(GhcRTSWays))
 rts_dist_WAYS = $(rts_WAYS)
 
 ALL_RTS_LIBS = $(foreach way,$(rts_WAYS),rts/dist/build/libHSrts$($(way)_libsuf))
-all_rts : $(ALL_RTS_LIBS)
+$(eval $(call all-target,rts,$(ALL_RTS_LIBS)))
 
 # -----------------------------------------------------------------------------
 # Defining the sources