Blame SOURCES/0004-build-Add-g-flag-to-ocamlopt.patch

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