summaryrefslogtreecommitdiff
path: root/riscv/trunk/Makefile.fpc
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/trunk/Makefile.fpc')
-rw-r--r--riscv/trunk/Makefile.fpc6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/trunk/Makefile.fpc b/riscv/trunk/Makefile.fpc
index 2cbe32ec52..d6a2f21f4b 100644
--- a/riscv/trunk/Makefile.fpc
+++ b/riscv/trunk/Makefile.fpc
@@ -81,6 +81,12 @@ endif
ifeq ($(CPU_TARGET),aarch64)
PPSUF=a64
endif
+ifeq ($(CPU_TARGET),riscv32)
+PPSUF=rv32
+endif
+ifeq ($(CPU_TARGET),riscv64)
+PPSUF=rv64
+endif
# cross compilers uses full cpu_target, not just ppc-suffix
# (except if the target cannot run a native compiler)