From a3c64818f2bfd80d307c41b6189ee83075c3a9a4 Mon Sep 17 00:00:00 2001 From: laokz Date: Mon, 15 Jan 2024 14:16:10 +0800 Subject: [PATCH] riscv64: -march default to rv64gc --- gcc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc.spec b/gcc.spec index 937761f..b6c6584 100644 --- a/gcc.spec +++ b/gcc.spec @@ -2,7 +2,7 @@ %global gcc_major 12 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 16 +%global gcc_release 17 %global _unpackaged_files_terminate_build 0 %global _performance_build 1 @@ -756,7 +756,7 @@ CONFIGURE_OPTS="\ --with-arch_64=x86-64-v2 \ %endif %ifarch riscv64 - --with-arch=rv64g --with-abi=lp64d --disable-libquadmath \ + --with-arch=rv64gc --with-abi=lp64d --disable-libquadmath \ %endif %ifnarch sparc sparcv9 ppc --build=%{gcc_target_platform} \ @@ -2888,6 +2888,10 @@ end %doc rpm.doc/changelogs/libcc1/ChangeLog* %changelog +* Mon Jan 15 2024 laokz 12.3.1-17 +- Type: SPEC +- DESC: riscv64 -march default to rv64gc + * Mon Sep 11 2023 dingguangya 12.3.1-16 - Type: Sync - DESC: Sync patch from openeuler/gcc