Disable LTO
This commit is contained in:
parent
80474fcdea
commit
9efe171b21
11
ocaml.spec
11
ocaml.spec
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 4.11.0
|
Version: 4.11.0
|
||||||
Release: 0.4.dev2%{?dist}
|
Release: 0.5.dev2%{?dist}
|
||||||
|
|
||||||
Summary: OCaml compiler and programming environment
|
Summary: OCaml compiler and programming environment
|
||||||
|
|
||||||
@ -174,6 +174,12 @@ autoconf --force
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# This package fails to build with LTO due to undefined symbols. LTO
|
||||||
|
# was disabled in OpenSuSE as well, but with no real explanation why
|
||||||
|
# beyond the undefined symbols. It really shold be investigated further.
|
||||||
|
# Disable LTO
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
%ifnarch %{no_parallel_build_arches}
|
%ifnarch %{no_parallel_build_arches}
|
||||||
make="make %{?_smp_mflags}"
|
make="make %{?_smp_mflags}"
|
||||||
%else
|
%else
|
||||||
@ -375,6 +381,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 4.11.0-0.5.dev2.fc33
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 4.11.0-0.4.dev2.fc33
|
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 4.11.0-0.4.dev2.fc33
|
||||||
- Move to OCaml 4.11.0+dev2-2020-04-22.
|
- Move to OCaml 4.11.0+dev2-2020-04-22.
|
||||||
- Backport upstream RISC-V backend from 4.12 + fixes.
|
- Backport upstream RISC-V backend from 4.12 + fixes.
|
||||||
|
Loading…
Reference in New Issue
Block a user