abstract-machine/scripts/isa/riscv32.mk
2020-09-04 00:13:55 +08:00

5 lines
197 B
Makefile

CROSS_COMPILE := riscv64-linux-gnu-
COMMON_FLAGS := -fno-pic -march=rv32im -mabi=ilp32
CFLAGS += $(COMMON_FLAGS) -static
ASFLAGS += $(COMMON_FLAGS) -O0
LDFLAGS += -melf32lriscv