summaryrefslogtreecommitdiff
path: root/rules/c-suffix-rules.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-17 14:56:34 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-17 14:56:34 +0000
commitb8bf9a3b4096971803a1bd4c8c98a7d4d393d886 (patch)
tree3eacd8afdad9516a1df4337a0e29a2add5d327d2 /rules/c-suffix-rules.mk
parentffe795d92b1e0c385474100ecfb649fd40ae6b4d (diff)
downloadhaskell-b8bf9a3b4096971803a1bd4c8c98a7d4d393d886.tar.gz
Finish removing BootingFromHc
Diffstat (limited to 'rules/c-suffix-rules.mk')
-rw-r--r--rules/c-suffix-rules.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/c-suffix-rules.mk b/rules/c-suffix-rules.mk
index 6d4bfe1755..628546c077 100644
--- a/rules/c-suffix-rules.mk
+++ b/rules/c-suffix-rules.mk
@@ -19,8 +19,7 @@ define c-suffix-rules
ifneq "$$(BINDIST)" "YES"
-# UseGhcForCc is only relevant when not booting from HC files.
-ifeq "$4 $$(BootingFromHc)" "YES NO"
+ifeq "$4" "YES"
$1/$2/build/%.$$($3_osuf) : $1/%.c $$(LAX_DEPS_FOLLOW) $$($1_$2_HC_DEP) | $$$$(dir $$$$@)/.
$$(call cmd,$1_$2_HC) $$($1_$2_$3_GHC_CC_OPTS) -c $$< -o $$@