cuiziwei1 commented on code in PR #14130: URL: https://github.com/apache/nuttx/pull/14130#discussion_r1799074985
########## arch/risc-v/src/common/Toolchain.defs: ########## @@ -210,7 +210,9 @@ ifeq ($(CONFIG_RISCV_TOOLCHAIN),GNU_RVG) endif ifeq ($(CONFIG_ARCH_RV_ISA_ZICSR_ZIFENCEI),y) - ARCHCPUEXTFLAGS := $(ARCHCPUEXTFLAGS)_zicsr_zifencei + ifeq ($(shell expr $(GCCVER) \>= 12), 1) Review Comment: It seems that CONFIG_ARCH_TOOLCHAIN_CLANG needs to be added. the latest changes have already added the judgment. please review again,Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org