riscv64: -march default to rv64gc
This commit is contained in:
parent
cc9cae1049
commit
a3c64818f2
8
gcc.spec
8
gcc.spec
@ -2,7 +2,7 @@
|
|||||||
%global gcc_major 12
|
%global gcc_major 12
|
||||||
# Note, gcc_release must be integer, if you want to add suffixes to
|
# Note, gcc_release must be integer, if you want to add suffixes to
|
||||||
# %%{release}, append them after %%{gcc_release} on Release: line.
|
# %%{release}, append them after %%{gcc_release} on Release: line.
|
||||||
%global gcc_release 16
|
%global gcc_release 17
|
||||||
|
|
||||||
%global _unpackaged_files_terminate_build 0
|
%global _unpackaged_files_terminate_build 0
|
||||||
%global _performance_build 1
|
%global _performance_build 1
|
||||||
@ -756,7 +756,7 @@ CONFIGURE_OPTS="\
|
|||||||
--with-arch_64=x86-64-v2 \
|
--with-arch_64=x86-64-v2 \
|
||||||
%endif
|
%endif
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
--with-arch=rv64g --with-abi=lp64d --disable-libquadmath \
|
--with-arch=rv64gc --with-abi=lp64d --disable-libquadmath \
|
||||||
%endif
|
%endif
|
||||||
%ifnarch sparc sparcv9 ppc
|
%ifnarch sparc sparcv9 ppc
|
||||||
--build=%{gcc_target_platform} \
|
--build=%{gcc_target_platform} \
|
||||||
@ -2888,6 +2888,10 @@ end
|
|||||||
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
||||||
|
|
||||||
%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
|
* Mon Sep 11 2023 dingguangya <dingguangya1@huawei.com> 12.3.1-16
|
||||||
- Type: Sync
|
- Type: Sync
|
||||||
- DESC: Sync patch from openeuler/gcc
|
- DESC: Sync patch from openeuler/gcc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user