summaryrefslogtreecommitdiff
path: root/rts/include
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-10-27 04:06:46 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-05 20:25:32 -0400
commit3645abac01b634b61b2ea2508ba67e88ef9ee219 (patch)
tree0274f7f1fdcb328e76a531a3ec25e357c5bc8188 /rts/include
parentd96ce59dc86799f0cf07da2ce5a55b189a50c130 (diff)
downloadhaskell-3645abac01b634b61b2ea2508ba67e88ef9ee219.tar.gz
Avoid GHC_STAGE and other include bits
We should strive to make our includes in terms of the RTS as much as possible. One place there that is not possible, the llvm version, we make a new tiny header Stage numbers are somewhat arbitrary, if we simple need a newer RTS, we should say so.
Diffstat (limited to 'rts/include')
-rw-r--r--rts/include/ghc.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/include/ghc.mk b/rts/include/ghc.mk
index 7c26499ce4..a04d5dbc1c 100644
--- a/rts/include/ghc.mk
+++ b/rts/include/ghc.mk
@@ -179,8 +179,6 @@ $$(includes_$1_H_PLATFORM) : rts/include/ghc.mk rts/include/Makefile | $$$$(dir
@echo "#if !defined(__GHCPLATFORM_H__)" > $$@
@echo "#define __GHCPLATFORM_H__" >> $$@
@echo >> $$@
- @echo "#define GHC_STAGE ($1 + 1)" >> $$@
- @echo >> $$@
@echo "#define BuildPlatform_TYPE $(BuildPlatform_$1_CPP)" >> $$@
@echo "#define HostPlatform_TYPE $(HostPlatform_$1_CPP)" >> $$@
@echo >> $$@