scripts,riscv32: fix compile error by missing zicsr with latest gcc
This commit is contained in:
parent
31a5a10f48
commit
ad9504123f
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
CROSS_COMPILE := riscv64-linux-gnu-
|
||||
COMMON_FLAGS := -fno-pic -march=rv32im -mabi=ilp32
|
||||
COMMON_FLAGS := -fno-pic -march=rv32g -mabi=ilp32
|
||||
CFLAGS += $(COMMON_FLAGS) -static
|
||||
ASFLAGS += $(COMMON_FLAGS) -O0
|
||||
LDFLAGS += -melf32lriscv
|
||||
|
|
Loading…
Add table
Reference in a new issue