Use ocamlopt -g option.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 20 Aug 2019 14:06:57 +0000 (15:06 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 20 Aug 2019 14:06:57 +0000 (15:06 +0100)
Originally from Fedora.

Makefile.in

index e01385f..4ae5ef5 100644 (file)
@@ -34,8 +34,8 @@ LIBS          = @AUGEAS_LIBS@ @LIBXML2_LIBS@ @LIBS@
 
 OCAMLCFLAGS    = -g
 OCAMLCPACKAGES =
-OCAMLOPTFLAGS  =
-OCAMLOPTPACKAGES =
+OCAMLOPTFLAGS  = $(OCAMLCFLAGS)
+OCAMLOPTPACKAGES = $(OCAMLCPACKAGES)
 
 OCAMLDOCFLAGS  = -html -sort