From 2f9a539b4e36545c5ebb48271d0f9c7bb3a325eb Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 31 Jul 2017 09:32:16 +0100 Subject: [PATCH] Enable debug symbols (-g). --- ocaml-ocamlbuild.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ocaml-ocamlbuild.spec b/ocaml-ocamlbuild.spec index 6f057a8..a76b352 100644 --- a/ocaml-ocamlbuild.spec +++ b/ocaml-ocamlbuild.spec @@ -4,7 +4,7 @@ Name: ocaml-ocamlbuild Version: 0.11.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Build tool for OCaml libraries and programs @@ -53,7 +53,9 @@ make configure \ OCAML_NATIVE=false %endif -make %{?_smp_mflags} +make %{?_smp_mflags} \ + OCAMLC="ocamlc.opt -g" \ + OCAMLOPT="ocamlopt.opt -g" %install @@ -106,6 +108,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild/META %changelog +* Mon Jul 31 2017 Richard W.M. Jones - 0.11.0-5 +- Enable debug symbols (-g). + * Thu Jul 27 2017 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild