summaryrefslogtreecommitdiff
path: root/lex
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2020-07-28 17:48:32 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2020-08-05 14:46:40 +0200
commitdf9d60f3151b90d0f8718ae82746d59dea931216 (patch)
tree9e87f6e30998a459efab240065547a92a8e16fb1 /lex
parent395a47eed99eb2bbe872e346bc0b459b28108b02 (diff)
downloadocaml-df9d60f3151b90d0f8718ae82746d59dea931216.tar.gz
Get rid of the YACCFLAGS build variable
It was not used, except in lex/Makefile where this commit replaces its unique occurrence by its definition in the same file.
Diffstat (limited to 'lex')
-rw-r--r--lex/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lex/Makefile b/lex/Makefile
index c928d737d4..5f6b16557a 100644
--- a/lex/Makefile
+++ b/lex/Makefile
@@ -27,7 +27,6 @@ CAMLOPT = $(CAMLRUN) $(ROOTDIR)/ocamlopt$(EXE) -nostdlib -I $(ROOTDIR)/stdlib
COMPFLAGS = -absname -w +a-4-9-41-42-44-45-48 -warn-error A \
-safe-string -strict-sequence -strict-formats -bin-annot
LINKFLAGS =
-YACCFLAGS = -v
CAMLLEX = $(CAMLRUN) $(ROOTDIR)/boot/ocamllex
CAMLDEP = $(BOOT_OCAMLC) -depend
DEPFLAGS = -slash
@@ -56,7 +55,7 @@ clean::
rm -f *.cmo *.cmi *.cmx *.cmt *.cmti *.o *.obj
parser.ml parser.mli: parser.mly
- $(CAMLYACC) $(YACCFLAGS) parser.mly
+ $(CAMLYACC) -v parser.mly
clean::
rm -f parser.ml parser.mli parser.output