diff options
Diffstat (limited to 'mk/warnings.mk')
-rw-r--r-- | mk/warnings.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/warnings.mk b/mk/warnings.mk index 5ca097f17b..3c4c26d218 100644 --- a/mk/warnings.mk +++ b/mk/warnings.mk @@ -8,8 +8,8 @@ SRC_HC_OPTS += -Wall # isn't supported yet (https://ghc.haskell.org/trac/ghc/wiki/Design/Warnings). # # See Note [Stage number in build variables] in mk/config.mk.in. -SRC_HC_OPTS_STAGE1 += $(WERROR) -SRC_HC_OPTS_STAGE2 += $(WERROR) +SRC_HC_OPTS_STAGE1 += $(WERROR) -Wcpp-undef +SRC_HC_OPTS_STAGE2 += $(WERROR) -Wcpp-undef ifneq "$(GccIsClang)" "YES" |