Add new macro ocaml_native_profiling.

This commit is contained in:
Richard W.M. Jones 2017-08-08 08:58:38 +01:00
parent edc7de59c1
commit cf050943c2
2 changed files with 10 additions and 4 deletions

View File

@ -4,7 +4,10 @@
# compilation is available on a particular architecture.
# Architectures that support the OCaml native code compiler.
%ocaml_native_compiler aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
%ocaml_native_compiler aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
# Architectures that support native dynamic linking of OCaml code.
%ocaml_natdynlink aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
%ocaml_natdynlink aarch64 %{arm} %{ix86} ppc ppc64 ppc64le riscv64 s390x sparc sparcv9 x86_64
# Architectures that support profiling of native code (ocamlopt -p).
%ocaml_native_profiling %{arm} %{ix86} ppc ppc64 ppc64le sparc sparcv9 x86_64

View File

@ -11,8 +11,8 @@
%global macros_dir %{_rpmconfigdir}/macros.d
Name: ocaml-srpm-macros
Version: 4
Release: 3%{?dist}
Version: 5
Release: 1%{?dist}
Summary: OCaml architecture macros
License: GPLv2+
@ -45,6 +45,9 @@ install -m 0644 %{SOURCE0} $RPM_BUILD_ROOT%{macros_dir}/macros.ocaml-srpm
%changelog
* Tue Aug 8 2017 Richard W.M. Jones <rjones@redhat.com> - 5-1
- Add new macro ocaml_native_profiling.
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild