summaryrefslogtreecommitdiff
path: root/lex
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2022-07-08 16:24:25 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2022-08-25 10:27:34 +0200
commita71b946ff86c2ad5ffebb2e55e6417deec1e24f2 (patch)
treef858f13ba20a34432fddb45febf5b3c177aa5e93 /lex
parenta4095ec19e9641064a1fabac322dbb007b6c85cf (diff)
downloadocaml-a71b946ff86c2ad5ffebb2e55e6417deec1e24f2.tar.gz
lex/Makefile: use same flags than in the root Makefile
The changes are: - The -principal flag has been added - Warning 41 is enabled and causes no error The files compiled from the root Makefile have more warnings disabled than those compiled with lex/Makefile but this is not a problem.
Diffstat (limited to 'lex')
-rw-r--r--lex/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lex/Makefile b/lex/Makefile
index 9510b008c7..253669174b 100644
--- a/lex/Makefile
+++ b/lex/Makefile
@@ -30,8 +30,8 @@ include $(ROOTDIR)/Makefile.common
CAMLC = $(BOOT_OCAMLC) $(BOOT_STDLIBFLAGS) \
-use-prims $(ROOTDIR)/runtime/primitives
CAMLOPT = $(OCAMLRUN) $(ROOTDIR)/ocamlopt$(EXE) $(STDLIBFLAGS)
-COMPFLAGS = -g -absname -w +a-4-9-41-42-44-45-48 -warn-error +A \
- -safe-string -strict-sequence -strict-formats -bin-annot
+COMPFLAGS = -g -absname -w +a-4-9-42-44-45-48 -warn-error +A \
+ -principal -safe-string -strict-sequence -strict-formats -bin-annot
LINKFLAGS = -g
OBJS=cset.cmo syntax.cmo parser.cmo lexer.cmo table.cmo lexgen.cmo \