Skip to content

Commit 53c3456

Browse files
keith-packardstephanosio
authored andcommitted
riscv: Make GCC default architecture include zicsr and zifencei
This makes the new version of GCC compatible with older versions when no -march is specified on the command line Signed-off-by: Keith Packard <keithp@keithp.com>
1 parent a359cc1 commit 53c3456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs/riscv64-zephyr-elf.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CT_EXPERIMENTAL=y
55
CT_ARCH_RISCV=y
66
CT_MULTILIB=y
77
CT_ARCH_64=y
8-
CT_ARCH_ARCH="rv32ima"
8+
CT_ARCH_ARCH="rv32ima_zicsr_zifencei"
99
CT_ARCH_ABI="ilp32"
1010
CT_TARGET_VENDOR="zephyr"
1111
CT_BINUTILS_SRC_CUSTOM=y

0 commit comments

Comments
 (0)