diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2015-11-01 10:18:07 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-01 10:18:21 +0100 |
commit | 31bcf9b62ceaed98bdd3b7605e68d315bcff0c8a (patch) | |
tree | 662e6e5859041f259d05461b6f37087cb1b0adcb | |
parent | 3021cc06f84109c6e7a529318d690c520748f936 (diff) | |
download | haskell-31bcf9b62ceaed98bdd3b7605e68d315bcff0c8a.tar.gz |
Apply WERROR only to stage2 HC options
Otherwise validate unnecessarily may fail during the stage1 build when
booting with an older compiler.
Test Plan: Try it
Reviewers: thomie, austin
Reviewed By: thomie, austin
Differential Revision: https://phabricator.haskell.org/D1390
-rw-r--r-- | ghc.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -143,7 +143,8 @@ include mk/warnings.mk # (Optional) build-specific configuration include mk/custom-settings.mk SRC_CC_OPTS += $(WERROR) -SRC_HC_OPTS += $(WERROR) +GhcStage2HcOpts += $(WERROR) +GhcLibHcOpts += $(WERROR) # ----------------------------------------------------------------------------- # Check for inconsistent settings, after reading mk/build.mk. |