summaryrefslogtreecommitdiff
path: root/mk/warnings.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/warnings.mk')
-rw-r--r--mk/warnings.mk2
1 files changed, 1 insertions, 1 deletions
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