diff options
author | John Ericson <git@JohnEricson.me> | 2019-09-12 23:35:48 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-04 21:44:29 -0400 |
commit | 75a5dd8e614e6056edf846218c08ddfff9384e04 (patch) | |
tree | b825c16755c11aa363a3cfab7d28bb0544577939 /includes | |
parent | 05419e55cab272ed39790695f448b311f22669f7 (diff) | |
download | haskell-75a5dd8e614e6056edf846218c08ddfff9384e04.tar.gz |
Remove {Build,Host}Platform_NAME from header
They are only used in a file we construct directly, so just skip CPP.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/ghc.mk | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk index 52b875cc28..50c293ee5b 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -139,14 +139,6 @@ endef $(eval $(call includesHeaderConfig,0)) $(eval $(call includesHeaderConfig,1)) -BUILDPLATFORM_0 = $(BUILDPLATFORM) -BUILDPLATFORM_1 = $(HOSTPLATFORM) -BUILDPLATFORM_2 = $(TARGETPLATFORM) - -HOSTPLATFORM_0 = $(HOSTPLATFORM) -HOSTPLATFORM_1 = $(TARGETPLATFORM) -HOSTPLATFORM_2 = $(TARGETPLATFORM) - BuildPlatform_0_CPP = $(BuildPlatform_CPP) BuildPlatform_1_CPP = $(HostPlatform_CPP) BuildPlatform_2_CPP = $(TargetPlatform_CPP) @@ -187,9 +179,6 @@ $$(includes_$1_H_PLATFORM) : includes/ghc.mk includes/Makefile | $$$$(dir $$$$@) @echo "#if !defined(__GHCPLATFORM_H__)" > $$@ @echo "#define __GHCPLATFORM_H__" >> $$@ @echo >> $$@ - @echo "#define BuildPlatform_NAME \"$(BUILDPLATFORM_$1)\"" >> $$@ - @echo "#define HostPlatform_NAME \"$(HOSTPLATFORM_$1)\"" >> $$@ - @echo >> $$@ @echo "#define BuildPlatform_TYPE $(BuildPlatform_$1_CPP)" >> $$@ @echo "#define HostPlatform_TYPE $(HostPlatform_$1_CPP)" >> $$@ @echo >> $$@ |