diff options
author | John Ericson <git@JohnEricson.me> | 2019-04-07 22:33:21 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-24 16:49:53 -0400 |
commit | b95b63806b5a9764902d3ae556ba31d17ecd1ec3 (patch) | |
tree | 00434c0677600df9d5e35ebcfc9e7466cdc688d5 /includes | |
parent | 3dbcc3682066450b0fe1e74f9d82472d5c603d3b (diff) | |
download | haskell-b95b63806b5a9764902d3ae556ba31d17ecd1ec3.tar.gz |
Make stage 1 GHC target independent
Now that the target macros are not being used, we remove them. This
prevents target hardcoding regressions.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/ghc.mk | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk index ccbd8abbc5..7ad63ba8ef 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -149,14 +149,6 @@ $(includes_H_PLATFORM) : includes/Makefile | $$(dir $$@)/. @echo "#define BUILD_VENDOR \"$(HostVendor_CPP)\"" >> $@ @echo "#define HOST_VENDOR \"$(TargetVendor_CPP)\"" >> $@ @echo >> $@ - @echo "/* These TARGET macros are for backwards compatibility... DO NOT USE! */" >> $@ - @echo "#define TargetPlatform_TYPE $(TargetPlatform_CPP)" >> $@ - @echo "#define $(TargetPlatform_CPP)_TARGET 1" >> $@ - @echo "#define $(TargetArch_CPP)_TARGET_ARCH 1" >> $@ - @echo "#define TARGET_ARCH \"$(TargetArch_CPP)\"" >> $@ - @echo "#define $(TargetOS_CPP)_TARGET_OS 1" >> $@ - @echo "#define TARGET_OS \"$(TargetOS_CPP)\"" >> $@ - @echo "#define $(TargetVendor_CPP)_TARGET_VENDOR 1" >> $@ ifeq "$(GhcUnregisterised)" "YES" @echo "#define UnregisterisedCompiler 1" >> $@ endif |