summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in4
-rw-r--r--mk/project.mk.in4
-rw-r--r--mk/warnings.mk2
3 files changed, 4 insertions, 6 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index a946b17bf9..8bbfde2e26 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -527,7 +527,9 @@ GccVersion = @GccVersion@
# the necessary format to pass to libffi's configure.
TargetPlatformFull = @TargetPlatformFull@
GccLT46 = @GccLT46@
-GccIsClang = @GccIsClang@
+
+# Do we have a C compiler using an LLVM back end?
+CcLlvmBackend = @CcLlvmBackend@
CC = @CC@
CC_STAGE0 = @CC_STAGE0@
diff --git a/mk/project.mk.in b/mk/project.mk.in
index 5cc2e4aeb1..9ee2eab59f 100644
--- a/mk/project.mk.in
+++ b/mk/project.mk.in
@@ -153,10 +153,6 @@ endif
# linker or not?
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@
diff --git a/mk/warnings.mk b/mk/warnings.mk
index 323ea75898..cee408d061 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -17,7 +17,7 @@ GhcRtsHcOpts += -Wcpp-undef
GhcStage1HcOpts += -Wcpp-undef
GhcStage2HcOpts += -Wcpp-undef
-ifneq "$(GccIsClang)" "YES"
+ifneq "$(CcLlvmBackend)" "YES"
# Debian doesn't turn -Werror=unused-but-set-variable on by default, so
# we turn it on explicitly for consistency with other users