summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2015-11-23 11:35:34 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-23 11:35:34 +0100
commit02c689cd1ce2a55adf6318eb9bd69f227f1abda2 (patch)
tree9e587348e51ff82153f214efa56d93fe3794545f
parent6393dd8e437f68856b2e7889e576ed1bfb0a9678 (diff)
downloadhaskell-02c689cd1ce2a55adf6318eb9bd69f227f1abda2.tar.gz
build.mk.sample: Document meaning of WERROR
31bcf9b62ceaed98bdd3b7605e68d315bcff0c8a changed the behavior of WERROR such that it would only apply to the stage 2 build. The reason for this was to avoid silly redundant imports and such breaking validation on different bootstrap compiler versions. Document the fact that WERROR now only applies to the stage 2 build.
-rw-r--r--mk/build.mk.sample3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 4f83ebbb4c..196becbbd8 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -63,7 +63,8 @@ endif
# Please use V=1 (the default) when reporting GHC bugs.
#V=0
-# Should all enabled warnings (see mk/warnings.mk) be turned into errors?
+# Should all enabled warnings (see mk/warnings.mk) be turned into errors while
+# building stage 2?
#WERROR=-Werror
# After stage 1 and the libraries have been built, you can uncomment this line: