summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/warnings.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/warnings.mk b/mk/warnings.mk
index 5b51d7d97d..ed549aa33a 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -15,7 +15,7 @@ SRC_HC_OPTS_STAGE2 += $(WERROR)
# core libraries to build in this configuration (see #13636).
GhcRtsHcOpts += -Wcpp-undef
GhcStage1HcOpts += -Wcpp-undef
-GhcStage2HcOpts += -Wcpp-undef
+GhcStage2HcOpts += -Wcpp-undef -Wincomplete-uni-patterns -Wincomplete-record-updates
ifneq "$(CcLlvmBackend)" "YES"