riscv64: -march default to rv64gc

This commit is contained in:
laokz 2024-01-15 14:16:10 +08:00 committed by laokz
parent cc9cae1049
commit a3c64818f2

View File

@ -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 <zhangkai@iscas.ac.cn> 12.3.1-17
- Type: SPEC
- DESC: riscv64 -march default to rv64gc
* Mon Sep 11 2023 dingguangya <dingguangya1@huawei.com> 12.3.1-16
- Type: Sync
- DESC: Sync patch from openeuler/gcc