- Remove ocaml_native_compiler flag, assume native target

This flag puts too much burden on pkgs that use ocaml, but build
  with their buildsystem instead of using dune

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-rpm-macros?expand=0&rev=59
This commit is contained in:
Olaf Hering 2021-04-21 12:50:50 +00:00 committed by Git OBS Bridge
parent 0a75c7a1c5
commit 4b6c153b6e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 21 12:34:56 UTC 2021 - ohering@suse.de
- Remove ocaml_native_compiler flag, assume native target
This flag puts too much burden on pkgs that use ocaml, but build
with their buildsystem instead of using dune
-------------------------------------------------------------------
Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de

View File

@ -17,7 +17,7 @@
Name: ocaml-rpm-macros
Version: 20210409
Version: 20210421
Release: 0
Summary: RPM macros for building OCaml source packages
License: GPL-2.0-only
@ -142,7 +142,6 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
%endif
%%define _lto_cflags %%{nil} \
%%{nil}
%%suse_ocaml_native_compiler 1
%%_find_debuginfo_dwz_opts %%{nil}
%else
%%ocaml_preserve_bytecode \
@ -150,7 +149,6 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
%%define __arch_install_post export NO_BRP_STRIP_DEBUG=true \
%%define _lto_cflags %%{nil} \
%%{nil}
%%suse_ocaml_native_compiler 0
%endif
# Create file list for base pkg and base-devel pkg