Bootstrapping fixes
[ghc-hetmet.git] / ghc.mk
diff --git a/ghc.mk b/ghc.mk
index 4406d31..8c33e0e 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -856,6 +856,10 @@ publish-sdist :
        $(call nTimes,10,$(PublishCp) $(SRC_DIST_TARBALL) $(PublishLocation)/dist)
 endif
 
+ifeq "$(GhcUnregisterised)" "YES"
+SRC_CC_OPTS += -DNO_REGS -DUSE_MINIINTERPRETER
+endif
+
 # -----------------------------------------------------------------------------
 # Cleaning