From 394ac574c7315724d694b489dde9ae9932dc3066 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sun, 28 Jan 2024 14:21:12 +0200 Subject: [PATCH] Disable LTO bootstrap (riscv64) Let's do the 1st build without LTO and the next one with to speedup. Signed-off-by: David Abdurachmanov --- gcc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc.spec b/gcc.spec index 019063d..7003323 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1249,7 +1249,7 @@ CONFIGURE_OPTS="\ --build=%{gcc_target_platform} \ %endif %if 0%{?fedora} >= 35 || 0%{?rhel} >= 9 -%ifnarch %{arm} +%ifnarch %{arm} riscv64 --with-build-config=bootstrap-lto --enable-link-serialization=1 \ %endif %endif