virt-top/SOURCES/0005-build-Add-g-flag-to-ocamlopt.patch

27 lines
759 B
Diff
Raw Permalink Normal View History

2023-03-28 09:18:56 +00:00
From da33ffc24105a414fba9c3e1b95d33efae7af9ad Mon Sep 17 00:00:00 2001
2019-08-01 18:43:50 +00:00
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 4 Jan 2016 11:48:40 -0500
2023-03-28 09:18:56 +00:00
Subject: [PATCH 05/23] build: Add -g flag to ocamlopt.
2019-08-01 18:43:50 +00:00
Modern ocamlopt supports the -g flag fine (very old versions did not).
---
virt-top/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2023-03-28 09:18:56 +00:00
2.31.1
2019-08-01 18:43:50 +00:00