summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
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 /compiler/ghc.cabal.in
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 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in25
1 files changed, 0 insertions, 25 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 46b0752491..750dc0389d 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -39,21 +39,6 @@ Flag internal-interpreter
Default: False
Manual: True
-Flag stage1
- Description: Is this stage 1?
- Default: False
- Manual: True
-
-Flag stage2
- Description: Is this stage 2?
- Default: False
- Manual: True
-
-Flag stage3
- Description: Is this stage 3?
- Default: False
- Manual: True
-
Flag terminfo
Description: Build GHC with terminfo support on non-Windows platforms.
Default: True
@@ -109,7 +94,6 @@ Library
if flag(internal-interpreter)
CPP-Options: -DHAVE_INTERNAL_INTERPRETER
- Include-Dirs: ../rts/dist-install/build @FFIIncludeDir@
-- if no dynamic system linker is available, don't try DLLs.
if flag(dynamic-system-linker)
@@ -148,15 +132,6 @@ Library
-- as it's magic.
GHC-Options: -this-unit-id ghc
- if flag(stage1)
- Include-Dirs: stage1
- else
- if flag(stage2)
- Include-Dirs: stage2
- else
- if flag(stage3)
- Include-Dirs: stage2
-
c-sources:
cbits/cutils.c
cbits/genSym.c