diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-04-01 19:30:16 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-04-01 19:30:31 +0200 |
commit | 43351ff0905a098c382487c502ccad53783ba9ee (patch) | |
tree | cf1977f950d522a8412889fb709f05346686eb93 /compiler/ghc.mk | |
parent | 3749c05216339df60e1ffbb28c8b957ad5020b00 (diff) | |
download | haskell-43351ff0905a098c382487c502ccad53783ba9ee.tar.gz |
Filter out `-Rghc-timing` for V=0 builds (#10223)
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D783
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r-- | compiler/ghc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk index c8cd557ae5..000912674d 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -676,9 +676,15 @@ compiler_stage2_CONFIGURE_OPTS += --disable-library-for-ghci compiler_stage3_CONFIGURE_OPTS += --disable-library-for-ghci # after build-package, because that sets compiler_stage1_HC_OPTS: +ifeq "$(V)" "0" +compiler_stage1_HC_OPTS += $(filter-out -Rghc-timing,$(GhcHcOpts)) $(GhcStage1HcOpts) +compiler_stage2_HC_OPTS += $(filter-out -Rghc-timing,$(GhcHcOpts)) $(GhcStage2HcOpts) +compiler_stage3_HC_OPTS += $(filter-out -Rghc-timing,$(GhcHcOpts)) $(GhcStage3HcOpts) +else compiler_stage1_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts) compiler_stage2_HC_OPTS += $(GhcHcOpts) $(GhcStage2HcOpts) compiler_stage3_HC_OPTS += $(GhcHcOpts) $(GhcStage3HcOpts) +endif ifneq "$(BINDIST)" "YES" |