summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-04-07 22:33:21 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-14 01:21:11 -0400
commite7ed53c9c347bbf6650f268b516da6e6c156a91a (patch)
tree16d6f1ed782965a11ff98bbda8aa0674fe8521c7 /compiler/ghc.mk
parentf508b7ce56f1e7dc2666de3139f58c02a0567461 (diff)
downloadhaskell-e7ed53c9c347bbf6650f268b516da6e6c156a91a.tar.gz
Remove LLVM_TARGET platform macros
Instead following @angerman's suggestion put them in the config file. Maybe we could re-key llvm-targets someday, but this is good for now.
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 4e0fb9095b..f80d7b75df 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -109,7 +109,6 @@ compiler/stage1/$(PLATFORM_H) : mk/config.mk mk/project.mk | $$(dir $$@)/.
@echo "#define BUILD_ARCH \"$(BuildArch_CPP)\"" >> $@
@echo "#define HOST_ARCH \"$(HostArch_CPP)\"" >> $@
@echo "#define TARGET_ARCH \"$(TargetArch_CPP)\"" >> $@
- @echo "#define LLVM_TARGET \"$(LLVMTarget_CPP)\"" >> $@
@echo >> $@
@echo "#define $(BuildOS_CPP)_BUILD_OS 1" >> $@
@echo "#define $(HostOS_CPP)_HOST_OS 1" >> $@
@@ -150,7 +149,6 @@ compiler/stage2/$(PLATFORM_H) : mk/config.mk mk/project.mk | $$(dir $$@)/.
@echo "#define BUILD_ARCH \"$(HostArch_CPP)\"" >> $@
@echo "#define HOST_ARCH \"$(TargetArch_CPP)\"" >> $@
@echo "#define TARGET_ARCH \"$(TargetArch_CPP)\"" >> $@
- @echo "#define LLVM_TARGET \"$(LLVMTarget_CPP)\"" >> $@
@echo >> $@
@echo "#define $(HostOS_CPP)_BUILD_OS 1" >> $@
@echo "#define $(TargetOS_CPP)_HOST_OS 1" >> $@