[project @ 2005-11-28 09:24:17 by simonpj]
[ghc-hetmet.git] / ghc / utils / genapply / Makefile
index 80f6c04..1b54fe5 100644 (file)
@@ -8,10 +8,12 @@ ifneq "$(BootingFromHc)" "YES"
 boot :: all
 endif
 
-ghc_ge_504 = $(shell if (test $(GhcCanonVersion) -ge 504); then echo YES; else echo NO; fi)
-
 ifeq "$(ghc_ge_504)" "NO"
 SRC_HC_OPTS +=  -package lang -package util -package text
 endif
 
+ifeq "$(GhcUnregisterised)" "YES"
+SRC_HC_OPTS += -DNO_REGS
+endif
+
 include $(TOP)/mk/target.mk