Partially fix GHCi when unregisterised
[ghc-hetmet.git] / rts / Makefile
index 9828f55..43368d4 100644 (file)
@@ -124,6 +124,11 @@ SRC_CC_OPTS += -DNOSMP
 SRC_HC_OPTS += -optc-DNOSMP
 endif
 
+ifeq "$(GhcWithTablesNextToCode)" "YES"
+SRC_CC_OPTS += -DTABLES_NEXT_TO_CODE
+SRC_HC_OPTS += -optc-DTABLES_NEXT_TO_CODE
+endif
+
 ifneq "$(DLLized)" "YES"
 SRC_HC_OPTS += -static
 endif