Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
f2a25c5b
Commit
f2a25c5b
authored
Aug 09, 2006
by
Simon Marlow
Browse files
only define GHCI if $(GhcWithInterpreter)=YES, also add -threaded
parent
e2e80125
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/Makefile.ghcbin
View file @
f2a25c5b
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment