summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-11-11 11:12:25 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-11-11 11:12:25 +0000
commit4842f1a5da2f5a297d870e5b8f8299de4093a7a2 (patch)
tree6004a5e02666b9099c27473d58093985d70815ab /rts/ghc.mk
parent0eeb7f045b160c17056be59078f61525f47bce3d (diff)
downloadhaskell-4842f1a5da2f5a297d870e5b8f8299de4093a7a2.tar.gz
The RTS needs hs-suffix-rules-srcdir for BootingFromHc
Patch submitted by Matthias Kilian <kili@outback.escape.de>, re-recorded against HEAD by me, with a comment added.
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index a667ac3553..2ae4d72f4c 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)