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