summaryrefslogtreecommitdiff
path: root/rules/c-suffix-rules.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-03 20:37:33 +0000
committerIan Lynagh <igloo@earth.li>2009-05-03 20:37:33 +0000
commitb426d31f065c4f60352bbc8c59d0235e85ffbcc6 (patch)
treed2b135a8e62b8214c5be167f4c1cc0bf091e4f46 /rules/c-suffix-rules.mk
parenta71d7945a5447990c094dbbfc0e2f3f5d26e7e6f (diff)
downloadhaskell-b426d31f065c4f60352bbc8c59d0235e85ffbcc6.tar.gz
Makefile rules tweak for BootingFromHc
Diffstat (limited to 'rules/c-suffix-rules.mk')
-rw-r--r--rules/c-suffix-rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/c-suffix-rules.mk b/rules/c-suffix-rules.mk
index 4001f848d3..089ff46a04 100644
--- a/rules/c-suffix-rules.mk
+++ b/rules/c-suffix-rules.mk
@@ -18,7 +18,7 @@ define c-suffix-rules
# $4 = use GHC (YES/NO)
# UseGhcForCc is only relevant when not booting from HC files.
-ifeq "$4" "YES"
+ifeq "$4 $$(BootingFromHc)" "YES NO"
$1/$2/build/%.$$($3_osuf) : $1/%.c $$(MKDIRHIER) $$($1_$2_HC_DEP)
$$(RM) $$@