summaryrefslogtreecommitdiff
path: root/hadrian
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-12 02:00:43 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-15 10:18:32 -0500
commitb679721a097161315b47c0f186ff72ec84c1389c (patch)
treed8847ee9f0772a5fdfed55369a2e414ea863fd2b /hadrian
parent25d36c3178945d926f936ee32e57894d1743063c (diff)
downloadhaskell-b679721a097161315b47c0f186ff72ec84c1389c.tar.gz
Delete dead code knobs for building GHC itself
As GHC has become target agnostic, we've left behind some now-useless logic in both build systems.
Diffstat (limited to 'hadrian')
-rw-r--r--hadrian/src/Settings/Packages.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/hadrian/src/Settings/Packages.hs b/hadrian/src/Settings/Packages.hs
index 36fcbb228a..6099b66055 100644
--- a/hadrian/src/Settings/Packages.hs
+++ b/hadrian/src/Settings/Packages.hs
@@ -55,12 +55,6 @@ packageArgs = do
, builder (Cabal Setup) ? mconcat
[ arg "--disable-library-for-ghci"
, anyTargetOs ["openbsd"] ? arg "--ld-options=-E"
- , flag GhcUnregisterised ? arg "--ghc-option=-DNO_REGS"
- , notM targetSupportsSMP ? arg "--ghc-option=-DNOSMP"
- , notM targetSupportsSMP ? arg "--ghc-option=-optc-DNOSMP"
- , ghcWithInterpreter ?
- ghciWithDebugger <$> flavour ?
- notStage0 ? arg "--ghc-option=-DDEBUGGER"
, ghcProfiled <$> flavour ?
notStage0 ? arg "--ghc-pkg-option=--force" ]