summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-06-29 17:11:28 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-07-22 20:19:59 -0400
commit0f17b930c164f3130caf2215484a8f5f8aa3cc63 (patch)
tree2d5a590c84df85e2d107e059e9126e6a9371addb
parent9f3ff8fd24b94c9d4a221e6aba3e21de42b0f02c (diff)
downloadhaskell-0f17b930c164f3130caf2215484a8f5f8aa3cc63.tar.gz
Remove unused "ncg" flag
This flag has been removed in 066b369de2c6f7da03c88206288dca29ab061b31 in 2011.
-rw-r--r--compiler/ghc.mk5
-rw-r--r--hadrian/src/Settings/Packages.hs3
2 files changed, 1 insertions, 7 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 05a6d9def1..92a844c779 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -200,11 +200,6 @@ ifeq "$(GhcThreadedRts)" "YES"
compiler_stage1_CONFIGURE_OPTS += --ghc-option=-optc-DTHREADED_RTS
endif
-ifeq "$(GhcWithNativeCodeGen)" "YES"
-compiler_stage1_CONFIGURE_OPTS += --flags=ncg
-compiler_stage2_CONFIGURE_OPTS += --flags=ncg
-endif
-
ifeq "$(GhcWithInterpreter)" "YES"
compiler_stage2_CONFIGURE_OPTS += --flags=ghci
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index 42e95f6664..cdf5a51d8d 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -73,8 +73,7 @@ packageArgs = do
notStage0 ? arg "--ghc-pkg-option=--force" ]
, builder (Cabal Flags) ? mconcat
- [ ghcWithNativeCodeGen ? arg "ncg"
- , ghcWithInterpreter ? notStage0 ? arg "ghci"
+ [ ghcWithInterpreter ? notStage0 ? arg "ghci"
, cross ? arg "-terminfo"
]