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