diff --git a/repos/ports/mk/gnu_build.mk b/repos/ports/mk/gnu_build.mk index 40e93a57ab..9de02cfc90 100644 --- a/repos/ports/mk/gnu_build.mk +++ b/repos/ports/mk/gnu_build.mk @@ -85,6 +85,9 @@ endif ifeq ($(findstring arm_v8, $(SPECS)), arm_v8) CONFIGURE_ARGS += --host aarch64-none-elf endif +ifeq ($(findstring riscv, $(SPECS)), riscv) +CONFIGURE_ARGS += --host riscv64-unknown-elf +endif ifeq ($(findstring x86, $(SPECS)), x86) CONFIGURE_ARGS += --host x86_64-pc-elf endif