summaryrefslogtreecommitdiff
path: root/packages/iosxlocale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/iosxlocale/Makefile')
-rw-r--r--packages/iosxlocale/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/iosxlocale/Makefile b/packages/iosxlocale/Makefile
index 4fed50bc9e..f4f15b84aa 100644
--- a/packages/iosxlocale/Makefile
+++ b/packages/iosxlocale/Makefile
@@ -607,10 +607,18 @@ else
ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),mips mipsel),)
FPCMAKE_CROSSGCCOPT=-mabi=32
else
+ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),riscv64),)
+FPCMAKE_CROSSGCCOPT=-mabi=lp64
+else
+ifneq ($(findstring $(FPCFPMAKE_CPU_OPT),riscv32),)
+FPCMAKE_CROSSGCCOPT=-mabi=ilp32
+else
FPCMAKE_CROSSGCCOPT=-m32
endif
endif
endif
+endif
+endif
FPCMAKEGCCLIBDIR:=$(shell dirname `gcc $(FPCMAKE_CROSSGCCOPT) -print-libgcc-file-name`)
endif
endif