271612
From da33ffc24105a414fba9c3e1b95d33efae7af9ad Mon Sep 17 00:00:00 2001
695b7d
From: "Richard W.M. Jones" <rjones@redhat.com>
695b7d
Date: Mon, 4 Jan 2016 11:48:40 -0500
271612
Subject: [PATCH 05/23] build: Add -g flag to ocamlopt.
695b7d
695b7d
Modern ocamlopt supports the -g flag fine (very old versions did not).
695b7d
---
695b7d
 virt-top/Makefile.in | 2 +-
695b7d
 1 file changed, 1 insertion(+), 1 deletion(-)
695b7d
695b7d
diff --git a/virt-top/Makefile.in b/virt-top/Makefile.in
695b7d
index 98e6647..e149b26 100755
695b7d
--- a/virt-top/Makefile.in
695b7d
+++ b/virt-top/Makefile.in
695b7d
@@ -68,7 +68,7 @@ OCAMLCFLAGS	:= -g -warn-error A-3
695b7d
 OCAMLCLIBS	:= -linkpkg
695b7d
 
695b7d
 OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
695b7d
-OCAMLOPTFLAGS	:= -warn-error A-3
695b7d
+OCAMLOPTFLAGS	:= $(OCAMLCFLAGS)
695b7d
 OCAMLOPTLIBS	:= $(OCAMLCLIBS)
695b7d
 
695b7d
 BYTE_TARGETS	:= virt-top
695b7d
-- 
271612
2.31.1
695b7d