From 4842f1a5da2f5a297d870e5b8f8299de4093a7a2 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 11 Nov 2009 11:12:25 +0000 Subject: [PATCH] The RTS needs hs-suffix-rules-srcdir for BootingFromHc Patch submitted by Matthias Kilian , re-recorded against HEAD by me, with a comment added. --- rts/ghc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rts/ghc.mk b/rts/ghc.mk index a667ac3..2ae4d72 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -95,6 +95,8 @@ endif $(call distdir-way-opts,rts,dist,$1) $(call c-suffix-rules,rts,dist,$1,YES) $(call cmm-suffix-rules,rts,dist,$1) +$(call hs-suffix-rules-srcdir,rts,dist,$1,$$(dir)) +# hs-suffix-rules-srcdir is needed when BootingFromHc to get the .hc rules rts_$1_LIB = rts/dist/build/libHSrts$$($1_libsuf) -- 1.7.10.4