summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
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.