summaryrefslogtreecommitdiff
path: root/rules/build-dependencies.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-10-06 15:50:59 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-10-06 15:50:59 +0000
commit99332983ad06a8cfef34c7908a73038c6f3f4781 (patch)
tree6303787bb3c15dcd05ac0e06c6870b97a9d08747 /rules/build-dependencies.mk
parent45a8d0ceac35f657e8f367a0e0870f2df0acde93 (diff)
downloadhaskell-99332983ad06a8cfef34c7908a73038c6f3f4781.tar.gz
Fix dependencies for the RTS
Evac_thr.c and Scav_thr.c had no dependencies
Diffstat (limited to 'rules/build-dependencies.mk')
-rw-r--r--rules/build-dependencies.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 68d45c82b6..dfb98d2c65 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -26,7 +26,7 @@ $$($1_$2_depfile) : $$(MKDEPENDC) $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS) $$($1
touch $$@.tmp
ifneq "$$($1_$2_C_SRCS)$$($1_$2_S_SRCS)" ""
"$$(MKDEPENDC)" -f $$($1_$2_depfile).tmp $$($1_MKDEPENDC_OPTS) $$(foreach way,$$($1_WAYS),-s $$(way)) -- $$($1_$2_v_ALL_CC_OPTS) -- $$($1_$2_C_FILES) $$($1_$2_S_FILES)
- sed -e "s|$1/\([^ :]*o[ :]\)|$1/$2/build/\1|g" -e "s|$$(TOP)/||" <$$($1_$2_depfile).tmp >$$($1_$2_depfile)
+ sed -e "s|$1/\([^ :]*o[ :]\)|$1/$2/build/\1|g" -e "s|$$(TOP)/||" -e "s|$2/build/$2/build|$2/build|g" <$$($1_$2_depfile).tmp >$$($1_$2_depfile)
endif
ifneq "$$($1_$2_HS_SRCS)" ""
"$$($1_$2_HC_MK_DEPEND)" -M $$($1_$2_MKDEPENDHS_FLAGS) \