Enable debug symbols (-g).

This commit is contained in:
Richard W.M. Jones 2017-07-31 09:32:16 +01:00
parent 97b508317a
commit 2f9a539b4e

View File

@ -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 <rjones@redhat.com> - 0.11.0-5
- Enable debug symbols (-g).
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild