summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-09-15 12:05:11 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-09-16 04:54:38 -0400
commitb695e7d73617ab19170d37b383315e8ede289c5e (patch)
tree21e449b1385d785f859f8cb5ff93b8fc7244c581 /compiler
parentce42e187ebfc81174ed477f247f023ae094c9b24 (diff)
downloadhaskell-b695e7d73617ab19170d37b383315e8ede289c5e.tar.gz
Rename ghci flag into internal-interpreter
"ghci" as a flag name was confusing because it really enables the internal-interpreter. Even the ghci library had a "ghci" flag...
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ghc.cabal.in6
-rw-r--r--compiler/ghc.mk2
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index f0f5a638d4..7694cfa2ec 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -23,8 +23,8 @@ Category: Development
Build-Type: Simple
Cabal-Version: >=1.10
-Flag ghci
- Description: Build GHCi support.
+Flag internal-interpreter
+ Description: Build with internal interpreter support.
Default: False
Manual: True
@@ -88,7 +88,7 @@ Library
-Wnoncanonical-monad-instances
-Wnoncanonical-monoid-instances
- if flag(ghci)
+ if flag(internal-interpreter)
CPP-Options: -DHAVE_INTERNAL_INTERPRETER
Include-Dirs: ../rts/dist/build @FFIIncludeDir@
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index bd5fdde71f..6a0a937053 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -203,7 +203,7 @@ compiler_stage1_CONFIGURE_OPTS += --ghc-option=-optc-DTHREADED_RTS
endif
ifeq "$(GhcWithInterpreter)" "YES"
-compiler_stage2_CONFIGURE_OPTS += --flags=ghci
+compiler_stage2_CONFIGURE_OPTS += --flags=internal-interpreter
# Should the debugger commands be enabled?
ifeq "$(GhciWithDebugger)" "YES"