Apply WERROR only to stage2 HC options
authorBen Gamari <bgamari.foss@gmail.com>
Sun, 1 Nov 2015 09:18:07 +0000 (10:18 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 1 Nov 2015 09:18:21 +0000 (10:18 +0100)
commit31bcf9b62ceaed98bdd3b7605e68d315bcff0c8a
tree662e6e5859041f259d05461b6f37087cb1b0adcb
parent3021cc06f84109c6e7a529318d690c520748f936
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
ghc.mk