projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a71d794
)
Makefile rules tweak for BootingFromHc
author
Ian Lynagh
<igloo@earth.li>
Sun, 3 May 2009 20:37:33 +0000
(20:37 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 3 May 2009 20:37:33 +0000
(20:37 +0000)
rules/c-suffix-rules.mk
patch
|
blob
|
history
diff --git
a/rules/c-suffix-rules.mk
b/rules/c-suffix-rules.mk
index
4001f84
..
089ff46
100644
(file)
--- 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) $$@