From b716378fce3611d06060c4f71da4b6d87f89c09c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 20 Mar 2018 20:25:12 +0100 Subject: coq_makefile: provide variables to override for adding extra flags --- tools/CoqMakefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/CoqMakefile.in b/tools/CoqMakefile.in index 8ab843fd5..7bcc340ac 100644 --- a/tools/CoqMakefile.in +++ b/tools/CoqMakefile.in @@ -168,10 +168,15 @@ DYNOBJ:=.cmxs DYNLIB:=.cmxs endif +# these variables are meant to be overriden if you want to add *extra* flags +COQEXTRAFLAGS?= +COQCHKEXTRAFLAGS?= +COQDOCEXTRAFLAGS?= + # these flags do NOT contain the libraries, to make them easier to overwrite -COQFLAGS?=-q $(OPT) $(OTHERFLAGS) -COQCHKFLAGS?=-silent -o -COQDOCFLAGS?=-interpolate -utf8 +COQFLAGS?=-q $(OPT) $(OTHERFLAGS) $(COQEXTRAFLAGS) +COQCHKFLAGS?=-silent -o $(COQCHKEXTRAFLAGS) +COQDOCFLAGS?=-interpolate -utf8 $(COQDOCEXTRAFLAGS) COQDOCLIBS?=$(COQLIBS_NOML) -- cgit v1.2.3