From: Richard W.M. Jones <rjones@redhat.com>
Date: Mon, 4 Jan 2016 16:48:40 +0000 (-0500)
Subject: build: Add -g flag to ocamlopt.
X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=da33ffc24105a414fba9c3e1b95d33efae7af9ad;p=virt-top.git

build: Add -g flag to ocamlopt.

Modern ocamlopt supports the -g flag fine (very old versions did not).
---

diff --git a/virt-top/Makefile.in b/virt-top/Makefile.in
index 98e6647..e149b26 100755
--- a/virt-top/Makefile.in
+++ b/virt-top/Makefile.in
@@ -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