summaryrefslogtreecommitdiff
path: root/rules/hs-suffix-rules-srcdir.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-17 13:05:58 +0000
committerIan Lynagh <igloo@earth.li>2009-05-17 13:05:58 +0000
commit56aad1af62167a41117419a94f6b9ce1f2e60576 (patch)
treea5d13ce065dba8edc2fb3589eda3234efc8f42f4 /rules/hs-suffix-rules-srcdir.mk
parent48f63fe6ade6f28d7bb5df5dc04580ce2c89c99d (diff)
downloadhaskell-56aad1af62167a41117419a94f6b9ce1f2e60576.tar.gz
Bootstrapping fixes
Diffstat (limited to 'rules/hs-suffix-rules-srcdir.mk')
-rw-r--r--rules/hs-suffix-rules-srcdir.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/hs-suffix-rules-srcdir.mk b/rules/hs-suffix-rules-srcdir.mk
index 4aa7b7eb2a..ceeede8e96 100644
--- a/rules/hs-suffix-rules-srcdir.mk
+++ b/rules/hs-suffix-rules-srcdir.mk
@@ -84,10 +84,12 @@ $1/$2/build/%.$$($3_way_)o-boot : $1/$4/%.hs-boot $$($1_$2_HC_DEP)
$1/$2/build/%.$$($3_way_)o-boot : $1/$4/%.lhs-boot $$($1_$2_HC_DEP)
$$($1_$2_HC) $$($1_$2_$3_ALL_HC_OPTS) -c $$< -o $$@
+ifneq "$$(BootingFromHc)" "YES"
# stubs are automatically generated and compiled by GHC
$1/$2/build/%_stub.$$($3_osuf): $1/$2/build/%.$$($3_osuf)
@:
+endif
endef