Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
src: Unconditionally enable -g flag
It's been possible to use -g with ocamlc for years now, and it's
always useful to compile with debugging enabled.  In particular this
is necessary to display accurate backtraces.
  • Loading branch information
rwmjones committed Sep 7, 2022
1 parent e3cb3fb commit 5d3d21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile.am
Expand Up @@ -127,7 +127,7 @@ BOBJECTS = $(SOURCES_ML:.ml=.cmo)
XOBJECTS = $(SOURCES_ML:.ml=.cmx)

OCAMLPACKAGES = -package unix,str
OCAMLFLAGS = -warn-error +C+D+E+F+L+M+P+S+U+V+X+Y+Z-3
OCAMLFLAGS = -g -warn-error +C+D+E+F+L+M+P+S+U+V+X+Y+Z-3

if !HAVE_OCAMLOPT
OBJECTS = $(BOBJECTS)
Expand Down

0 comments on commit 5d3d21b

Please sign in to comment.