aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jason Gross <jagro@google.com>2016-07-25 09:37:07 -0700
committerGravatar Jason Gross <jagro@google.com>2016-07-25 09:47:26 -0700
commitaf939434ffb8fda11c9ef5eb02915c2515637dc4 (patch)
treeb8a467fab24ced91e22686b8efa0fec292e09605 /Makefile
parentef25f981e25048bc5e10497c0552c0d3a1778c0c (diff)
In >= 8.6, disable some very noisy warnings
Since we're building for both 8.4 and 8.5, we don't want to see warnings about appcontext being deprecated. Many of the notation-overridden warnings come from standard library imports (see [bug #4962](https://coq.inria.fr/bugs/show_bug.cgi?id=4962)) so it's not clear that there's anything we can do about them.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b518c702d..3be8c6754 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,10 @@ ifneq ($(filter 8.4%,$(COQ_VERSION)),) # 8.4
COQPRIME_FOLDER := coqprime-8.4
else
COQPRIME_FOLDER := coqprime
+ifneq ($(filter 8.5%,$(COQ_VERSION)),) # 8.5
+else
+OTHERFLAGS ?= -w "-deprecated-appcontext -notation-overridden"
+endif
endif
coqprime: