Disable -Wcpp-undef for now
authorBen Gamari <ben@smart-cactus.org>
Mon, 1 May 2017 02:41:38 +0000 (22:41 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 1 May 2017 02:42:38 +0000 (22:42 -0400)
We at very least need to upstream a patch for the time submodule to compile on
OS X.

mk/warnings.mk

index 3c4c26d..af5f4f5 100644 (file)
@@ -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) -Wcpp-undef
-SRC_HC_OPTS_STAGE2 += $(WERROR) -Wcpp-undef
+SRC_HC_OPTS_STAGE1 += $(WERROR) #-Wcpp-undef
+SRC_HC_OPTS_STAGE2 += $(WERROR) #-Wcpp-undef
 
 
 ifneq "$(GccIsClang)" "YES"