From 33642e6578d9c5fe83005f75fbbfd713222b8196 Mon Sep 17 00:00:00 2001 From: Matthias Kilian Date: Sun, 15 Nov 2009 17:54:05 +0000 Subject: [PATCH] Reorder ALL_RTS_LIBS ALL_RTS_LIBS is (ab)used for linking ghc when BootingFromHc=Yes, which needs libHSrtsmain.a before libHSrts.a. --- rts/ghc.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rts/ghc.mk b/rts/ghc.mk index fb4206c..853e3d8 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -19,8 +19,8 @@ rts_dist_HC = $(GHC_STAGE1) # merge GhcLibWays and GhcRTSWays but strip out duplicates rts_WAYS = $(GhcLibWays) $(filter-out $(GhcLibWays),$(GhcRTSWays)) -ALL_RTS_LIBS = $(foreach way,$(rts_WAYS),rts/dist/build/libHSrts$($(way)_libsuf)) \ - rts/dist/build/libHSrtsmain.a +ALL_RTS_LIBS = rts/dist/build/libHSrtsmain.a \ + $(foreach way,$(rts_WAYS),rts/dist/build/libHSrts$($(way)_libsuf)) all_rts : $(ALL_RTS_LIBS) # ----------------------------------------------------------------------------- -- 1.7.10.4