summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-05-09 13:05:11 +0000
committerIan Lynagh <igloo@earth.li>2010-05-09 13:05:11 +0000
commitc24af7168babfe2a7c231c1c7a61b74d952aee84 (patch)
tree632be3dc50e4acf5b1dab81af9a20896468f2640 /rules/build-package.mk
parent7eb456b97c5a9911981afa172acf9ef50b75f9fa (diff)
downloadhaskell-c24af7168babfe2a7c231c1c7a61b74d952aee84.tar.gz
Don't include inter-package dependencies when compiling with stage 0; #4031
This fixes a problem when building with GHC 6.12 on Windows, where dependencies on stage 0 (bootstrapping compiler) packages have absolute paths c:/ghc/..., and make gets confused by the colon.
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index b4763b682f..5a589f456f 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -133,7 +133,7 @@ $(call includes-sources,$1,$2)
$1_$2_WAYS_DASHED = $$(subst $$(space),,$$(patsubst %,-%,$$(strip $$($1_$2_WAYS))))
$1_$2_depfile_base = $1/$2/build/.depend$$($1_$2_WAYS_DASHED)
-$(call build-dependencies,$1,$2)
+$(call build-dependencies,$1,$2,$3)
# --- BUILDING