aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 36402fec9..e7edf71aa 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -69,6 +69,7 @@ CFLAGS_mips := -mips32r2 -G 0 -ffunction-sections -fdata-sections
CFLAGS_mips += -mno-abicalls -fno-pic
CFLAGS_x86_32 += -ffunction-sections -fdata-sections
+CFLAGS_riscv := -ffunction-sections -fdata-sections
toolchain_to_dir = \
$(foreach arch,$(ARCH_SUPPORTED),\