nbdkit/0005-configure-Recommend-using-g-with-OCAMLOPTFLAGS.patch
2023-07-13 12:05:26 +01:00

28 lines
895 B
Diff

From 4398b1871f8832109fcdbe25c70a1dd341ed5bd4 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Wed, 21 Jun 2023 13:05:22 +0100
Subject: [PATCH 05/16] configure: Recommend using -g with OCAMLOPTFLAGS
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index c1d83a568..39b58b44e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -935,8 +935,8 @@ AC_SUBST([PYTHON_LDFLAGS])
dnl For the OCaml plugin, you can set OCAMLOPTFLAGS before running
dnl ./configure to specify any extra flags you want to pass to
-dnl ocamlopt. For example to enable OCaml warnings:
-dnl OCAMLOPTFLAGS="-warn-error +A-3"
+dnl ocamlopt. For example to enable debug symbols & warnings:
+dnl OCAMLOPTFLAGS="-g -warn-error +A-3"
AC_SUBST([OCAMLOPTFLAGS])
dnl Check for OCaml, for embedding in the ocaml plugin.
--
2.41.0