Don't make ghc threaded if GhcNotThreaded is YES
[ghc-hetmet.git] / compiler / Makefile.ghcbin
index 7b25fb3..96bed25 100644 (file)
@@ -31,7 +31,9 @@ ifeq "$(GhcWithInterpreter)" "YES"
 SRC_HC_OPTS += -DGHCI -DBREAKPOINT
 endif
 
+ifneq "$(GhcNotThreaded)" "YES"
 SRC_HC_OPTS += -threaded
+endif
 
 odir=stage$(stage)