Avoid setting -Werror=unused-but-set-variable on Windows.
authorGintautas Miliauskas <gintautas.miliauskas@gmail.com>
Thu, 30 Oct 2014 04:13:51 +0000 (23:13 -0500)
committerAustin Seipp <austin@well-typed.com>
Thu, 30 Oct 2014 04:13:51 +0000 (23:13 -0500)
commitacb3295c69179159ba8230baff4104414c1db2c2
tree22f747388b004019308bdd09ccd7a32e965089b5
parent5ce1266a7d323fd4fe4262f07be908d65e5b5b43
Avoid setting -Werror=unused-but-set-variable on Windows.

Summary:
The option is not needed (it was only intended to override Debian's default)
and causes an error if the host ghc's mingw is too old (which the script
does not detect).

Fixes T9727

Reviewers: austin

Reviewed By: austin

Subscribers: thomie, carter, simonmar

Differential Revision: https://phabricator.haskell.org/D373

GHC Trac Issues: #9727
mk/validate-settings.mk