Makefile rules tweak for BootingFromHc
authorIan Lynagh <igloo@earth.li>
Sun, 3 May 2009 20:37:33 +0000 (20:37 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 3 May 2009 20:37:33 +0000 (20:37 +0000)
rules/c-suffix-rules.mk

index 4001f84..089ff46 100644 (file)
@@ -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) $$@