From 31711f4f70abf84a648423a762c1d89f0bd9dbc3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Wed, 10 Aug 2022 00:59:45 +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