summaryrefslogtreecommitdiff
path: root/rules/build-dependencies.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-09 14:29:36 +0000
committerIan Lynagh <igloo@earth.li>2009-05-09 14:29:36 +0000
commitebb3712252c4328f5e79ad7d2c3ba986a907631b (patch)
tree020c6d2ef678bb7144df1965b6c4d768e264b3ed /rules/build-dependencies.mk
parentf4bce9ad55aedaf53f247b84dd3ac7319fbbdd0e (diff)
downloadhaskell-ebb3712252c4328f5e79ad7d2c3ba986a907631b.tar.gz
Build system tweak
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 69f6d7ea95..ae1d5add72 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -23,7 +23,7 @@ ifneq "$$($1_$2_NO_BUILD_DEPS)" "YES"
$$($1_$2_depfile) : $$(MKDIRHIER) $$(MKDEPENDC) $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS) $$($1_$2_HC_MK_DEPEND_DEP) $$($1_$2_C_FILES) $$($1_$2_S_FILES)
$$(MKDIRHIER) $1/$2/build
- $(RM) $$@ $$@.tmp
+ $$(RM) $$@ $$@.tmp
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) || ( $$(RM) $$@; exit 1 )