[project @ 2002-01-31 10:47:47 by sof]
[ghc-hetmet.git] / ghc / driver / Makefile
index a7667bf..cd27d6f 100644 (file)
@@ -41,6 +41,10 @@ else
 SRC_HC_OPTS += -syslib concurrent -syslib posix -syslib misc
 endif
 
+ifeq "$(GhcRtsThreaded)" "YES"
+SRC_HC_OPTS +=-DTHREADED_RTS
+endif
+
 SRC_HC_OPTS += -DWANT_PRETTY
 SRC_HC_OPTS += $(filter -D% -U%,$(GhcRtsCcOpts))