aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.build
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-03-06 17:19:18 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-07-13 09:24:53 +0200
commit09995c761c35cbb1f217fcf76365bd406157b8e6 (patch)
tree7ce45be9ba09503f58b78791730647421d8c5806 /Makefile.build
parent8a388cd914f8c8359f7637ade728f3a9ac5a291b (diff)
Make -warn-error fail on warnings emitted by coqc on stdlib.
We turn all Coq warnings that are on by default into errors.
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build b/Makefile.build
index 84f86c99a..c100eda40 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -195,7 +195,7 @@ TIMER=$(if $(TIMED), $(STDTIME), $(TIMECMD))
# the output format of the unix command time. For instance:
# TIME="%C (%U user, %S sys, %e total, %M maxres)"
-COQOPTS=$(NATIVECOMPUTE)
+COQOPTS=$(NATIVECOMPUTE) $(COQWARNERROR)
BOOTCOQC=$(TIMER) $(COQTOPBEST) -boot $(COQOPTS) -compile
LOCALINCLUDES=$(addprefix -I ,$(SRCDIRS))