From: Simon Marlow Date: Wed, 11 Nov 2009 11:12:25 +0000 (+0000) Subject: The RTS needs hs-suffix-rules-srcdir for BootingFromHc X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4842f1a5da2f5a297d870e5b8f8299de4093a7a2;p=ghc-hetmet.git The RTS needs hs-suffix-rules-srcdir for BootingFromHc Patch submitted by Matthias Kilian , re-recorded against HEAD by me, with a comment added. --- 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)