summaryrefslogtreecommitdiff
path: root/rules/c-suffix-rules.mk
diff options
context:
space:
mode:
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) $$@