Disable LTO bootstrap (riscv64)

Let's do the 1st build without LTO and the next one with to speedup.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-01-28 14:21:12 +02:00
parent 73d3eb4801
commit 394ac574c7
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -1249,7 +1249,7 @@ CONFIGURE_OPTS="\
--build=%{gcc_target_platform} \ --build=%{gcc_target_platform} \
%endif %endif
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9 %if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
%ifnarch %{arm} %ifnarch %{arm} riscv64
--with-build-config=bootstrap-lto --enable-link-serialization=1 \ --with-build-config=bootstrap-lto --enable-link-serialization=1 \
%endif %endif
%endif %endif