From e9c4023dd93c86255e39b163fa9d3612c52e8196 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Mon, 11 Apr 2022 00:28:14 +0100 Subject: [PATCH] update-isa-spec Update to newer default ISA spec in GCC and binutils: Update to newer default ISA spec in GCC and binutils: https://lists.infradead.org/pipermail/linux-riscv/2022-January/011728.html Gbp-Pq: Topic riscv64 Gbp-Pq: Name update-isa-spec.patch --- arch/riscv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 0b80eb8d8..7814d02bb 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -24,7 +24,7 @@ ifeq ($(CONFIG_CMODEL_MEDANY),y) CMODEL = medany endif -ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C) -mabi=$(ABI) \ +ARCH_FLAGS = -march=$(ARCH_BASE)$(ARCH_A)$(ARCH_C)_zicsr_zifencei -mabi=$(ABI) \ -mcmodel=$(CMODEL) PLATFORM_CPPFLAGS += $(ARCH_FLAGS) -- 2.30.2