Enable LTO bootstrap

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-04-17 17:33:06 +03:00
parent b624965505
commit cbc79f414b
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 5 additions and 2 deletions

View File

@ -141,7 +141,7 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
Release: %{gcc_release}.15.1.riscv64%{?dist}
Release: %{gcc_release}.15.2.riscv64%{?dist}
# License notes for some of the less obvious ones:
# gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
# isl: MIT, BSD-2-Clause
@ -1269,7 +1269,7 @@ CONFIGURE_OPTS="\
--build=%{gcc_target_platform} \
%endif
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
%ifnarch %{arm} riscv64
%ifnarch %{arm}
--with-build-config=bootstrap-lto --enable-link-serialization=1 \
%endif
%endif
@ -3627,6 +3627,9 @@ end
%endif
%changelog
* Wed Apr 17 2024 David Abdurachamnov <davidlt@rivosinc.com> 14.0.1-0.15.2.riscv64
- Enable LTO bootstrap
* Wed Apr 17 2024 David Abdurachamnov <davidlt@rivosinc.com> 14.0.1-0.15.1.riscv64
- Backport PRs a couple commits