Commit f2a25c5b authored by Simon Marlow's avatar Simon Marlow
Browse files

only define GHCI if $(GhcWithInterpreter)=YES, also add -threaded

parent e2e80125
......@@ -13,12 +13,17 @@ stage=2
HC=$(GHC_STAGE1)
SRC_HC_OPTS += -package ghc
SRC_HC_OPTS += -DGHCI -DBREAKPOINT
SRC_HC_OPTS += -Istage$(stage)
SRC_HC_OPTS += \
-cpp -fglasgow-exts -fno-generics -Rghc-timing \
-I. -IcodeGen -InativeGen -Iparser
ifeq "$(GhcWithInterpreter)" "YES"
SRC_HC_OPTS += -DGHCI -DBREAKPOINT
endif
SRC_HC_OPTS += -threaded
odir=stage$(stage)
HS_SRCS = main/Main.hs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment