build: Add -g flag to ocamlopt.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 4 Jan 2016 16:48:40 +0000 (11:48 -0500)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 29 Nov 2022 08:13:39 +0000 (08:13 +0000)
Modern ocamlopt supports the -g flag fine (very old versions did not).

virt-top/Makefile.in

index 98e6647..e149b26 100755 (executable)
@@ -68,7 +68,7 @@ OCAMLCFLAGS   := -g -warn-error A-3
 OCAMLCLIBS     := -linkpkg
 
 OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
-OCAMLOPTFLAGS  := -warn-error A-3
+OCAMLOPTFLAGS  := $(OCAMLCFLAGS)
 OCAMLOPTLIBS   := $(OCAMLCLIBS)
 
 BYTE_TARGETS   := virt-top