Clean up spec (enable LTO)

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-06-23 15:37:28 +03:00
parent 4f91074d19
commit f85d5f36bc
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -11,10 +11,6 @@
# build hadrian for production builds:
%bcond build_hadrian 1
%ifarch riscv64
%global _lto_cflags %{nil}
%endif
# disabled to allow parallel install of ghc9.2-9.2.7 and ghc-9.2.6
%if 0
%global ghc_major 9.2
@ -483,7 +479,7 @@ rm libffi-tarballs/libffi-*.tar.gz
%patch -P27 -p1 -b .orig
# newer LLVM versions
%patch30 -p1 -b .orig
%patch -P30 -p1 -b .orig
%if %{with haddock} && %{without hadrian}
%global gen_contents_index gen_contents_index.orig
@ -1024,7 +1020,6 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index
* Fri Jun 23 2023 David Abdurachmanov <davidlt@rivosinc.com> - 9.2.6-131.0.riscv64
- Change LLVM from 12 to 13
- Move riscv64 to LLVM arch
- Disable LTO on riscv64 to speed up builds
- Disable ld.gold on riscv64 (not supported)
* Thu May 25 2023 Jens Petersen <petersen@redhat.com> - 9.2.6-131