Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/c04a98498cd1bd706ae9ce7b4c672af4b917a10e >--------------------------------------------------------------- commit c04a98498cd1bd706ae9ce7b4c672af4b917a10e Author: Ian Lynagh <i...@well-typed.com> Date: Fri Nov 23 17:22:42 2012 +0000 Separate warning flags from other flags in validate-settings.mk >--------------------------------------------------------------- mk/validate-settings.mk | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk index 03f4e71..fa54300 100644 --- a/mk/validate-settings.mk +++ b/mk/validate-settings.mk @@ -7,6 +7,9 @@ SRC_HC_WARNING_OPTS = HADDOCK_DOCS = YES +##################### +# Warnings + # Debian doesn't turn -Werror=unused-but-set-variable on by default, so # we turn it on explicitly for consistency with other users ifeq "$(GccLT46)" "NO" @@ -16,11 +19,16 @@ SRC_CC_WARNING_OPTS += -Wno-error=inline endif SRC_CC_OPTS += $(WERROR) -Wall -SRC_HC_OPTS += $(WERROR) -Wall -H64m -O0 +SRC_HC_OPTS += $(WERROR) -Wall + +GhcStage1HcOpts += -fwarn-tabs +GhcStage2HcOpts += -fwarn-tabs -GhcStage1HcOpts += -O -fwarn-tabs +##################### +SRC_HC_OPTS += -H64m -O0 -GhcStage2HcOpts += -O -fwarn-tabs -dcore-lint +GhcStage1HcOpts += -O +GhcStage2HcOpts += -O -dcore-lint # Using -O (rather than -O0) here bringes my validate down from 22mins to 16 mins. # Compiling stage2 takes longer, but we gain a faster haddock, faster # running of the tests, and faster building of the utils to be installed _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc