- 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:
parent
0a75c7a1c5
commit
4b6c153b6e
@ -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
|
Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ocaml-rpm-macros
|
Name: ocaml-rpm-macros
|
||||||
Version: 20210409
|
Version: 20210421
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: RPM macros for building OCaml source packages
|
Summary: RPM macros for building OCaml source packages
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -142,7 +142,6 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
|
|||||||
%endif
|
%endif
|
||||||
%%define _lto_cflags %%{nil} \
|
%%define _lto_cflags %%{nil} \
|
||||||
%%{nil}
|
%%{nil}
|
||||||
%%suse_ocaml_native_compiler 1
|
|
||||||
%%_find_debuginfo_dwz_opts %%{nil}
|
%%_find_debuginfo_dwz_opts %%{nil}
|
||||||
%else
|
%else
|
||||||
%%ocaml_preserve_bytecode \
|
%%ocaml_preserve_bytecode \
|
||||||
@ -150,7 +149,6 @@ tee %{buildroot}%{_rpmmacrodir}/macros.%{name} <<'_EOF_'
|
|||||||
%%define __arch_install_post export NO_BRP_STRIP_DEBUG=true \
|
%%define __arch_install_post export NO_BRP_STRIP_DEBUG=true \
|
||||||
%%define _lto_cflags %%{nil} \
|
%%define _lto_cflags %%{nil} \
|
||||||
%%{nil}
|
%%{nil}
|
||||||
%%suse_ocaml_native_compiler 0
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Create file list for base pkg and base-devel pkg
|
# Create file list for base pkg and base-devel pkg
|
||||||
|
Loading…
Reference in New Issue
Block a user