summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-06-17 04:57:18 -0500
committerAustin Seipp <aseipp@pobox.com>2013-06-17 05:54:33 -0500
commit8f2f7a094deb8e77560697181636234f1590f485 (patch)
treebda5bd402f7ff61287055159c5eb4b6ba0b90481 /includes
parent6bd6139730b0f7889ca3773ec5139470398c906e (diff)
downloadhaskell-8f2f7a094deb8e77560697181636234f1590f485.tar.gz
Add some missing clang bits to the build system.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'includes')
-rw-r--r--includes/ghc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk
index fb3800165a..04cc4aae07 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -85,6 +85,11 @@ ifeq "$(CC_LLVM_BACKEND)" "1"
@echo "#define llvm_CC_FLAVOR 1" >> $@
endif
#
+ifeq "$(CC_CLANG_BACKEND)" "1"
+ @echo >> $@
+ @echo "#define clang_CC_FLAVOR 1" >> $@
+endif
+#
@echo "#endif /* __GHCAUTOCONF_H__ */" >> $@
@echo "Done."