[project @ 2003-07-23 15:12:55 by simonmar]
[ghc-hetmet.git] / mk / suffix.mk
index 0c8fb7c..69d164e 100644 (file)
@@ -146,7 +146,8 @@ endif
 #-----------------------------------------------------------------------------
 # C-related suffix rules
 
-ifeq "$(UseGhcForCc)" "YES"
+# UseGhcForCc is only relevant when not booting from HC files.
+ifeq "$(UseGhcForCc) $(BootingFromHc)" "YES NO"
 
 $(odir_)%.$(way_)o : %.c
        @$(RM) $@