[project @ 2003-07-22 14:51:50 by simonmar]
authorsimonmar <unknown>
Tue, 22 Jul 2003 14:51:50 +0000 (14:51 +0000)
committersimonmar <unknown>
Tue, 22 Jul 2003 14:51:50 +0000 (14:51 +0000)
When GhcUnregisterised=YES, we must tell genapply about it.

ghc/utils/genapply/Makefile

index 80f6c04..394d884 100644 (file)
@@ -14,4 +14,8 @@ 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