summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2014-08-18 21:44:25 -0500
committerAustin Seipp <austin@well-typed.com>2014-08-18 23:26:19 -0500
commitbbd031134a571c1020945b2548e3fc4795b5047a (patch)
tree854e8b0828580955e7e130bbc5fa1fde115b93b7 /mk
parentd9a20573f473cc7389004470999b8a318aa6b3f2 (diff)
downloadhaskell-bbd031134a571c1020945b2548e3fc4795b5047a.tar.gz
Bug #9439: Ensure that stage 0 compiler isn't affected
Summary: Bug #9439 will cause miscompilation of GHC's LLVM backend. Here we ensure that an affected compiler isn't used to bootstrap. Test Plan: Attempt to bootstrap GHC with an affected stage 0 compiler. Reviewers: rwbarton, austin Reviewed By: austin Subscribers: simonmar, relrod, ezyang, carter Differential Revision: https://phabricator.haskell.org/D159
Diffstat (limited to 'mk')
-rw-r--r--mk/project.mk.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/project.mk.in b/mk/project.mk.in
index 28692d4cbb..69ed88575e 100644
--- a/mk/project.mk.in
+++ b/mk/project.mk.in
@@ -157,3 +157,6 @@ SOLARIS_BROKEN_SHLD=@SOLARIS_BROKEN_SHLD@
# Do we have a C compiler using an LLVM back end?
CC_LLVM_BACKEND = @CC_LLVM_BACKEND@
CC_CLANG_BACKEND = @CC_CLANG_BACKEND@
+
+# Is the stage0 compiler affected by Bug #9439?
+GHC_LLVM_AFFECTED_BY_9439 = @GHC_LLVM_AFFECTED_BY_9439@