summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-02 19:39:18 +0000
committerIan Lynagh <igloo@earth.li>2007-09-02 19:39:18 +0000
commitd759c7231dde979ed2824bd39b2fdff24357d355 (patch)
tree8a2c44987b00e67eba4bd61cb629c976121057ae /validate
parentfbb3eef5ee8f6f901ed6149b246c3bdbf8bd34fd (diff)
downloadhaskell-d759c7231dde979ed2824bd39b2fdff24357d355.tar.gz
Fix and supress some warnings, and turn on -Werror when validating
Diffstat (limited to 'validate')
-rw-r--r--validate8
1 files changed, 5 insertions, 3 deletions
diff --git a/validate b/validate
index 9ab5e0d970..cb9b307f8a 100644
--- a/validate
+++ b/validate
@@ -11,9 +11,11 @@ if [ -f mk/build.mk ]; then
fi
# The default is a "quick" build
-echo BuildFlavour=quick > mk/build.mk
-echo HADDOCK_DOCS=YES >> mk/build.mk
-cat mk/build.mk.sample >> mk/build.mk
+echo "BuildFlavour = quick" > mk/build.mk
+echo "HADDOCK_DOCS = YES" >> mk/build.mk
+cat mk/build.mk.sample >> mk/build.mk
+echo "SRC_HC_OPTS += -Werror" >> mk/build.mk
+echo "SRC_CC_OPTS += -Werror" >> mk/build.mk
# You can override the default validate settings using mk/validate.mk
# e.g. you could add GhcLibWays=p to test profiling.