diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-03-12 13:23:41 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-03-12 13:23:41 +0000 |
commit | e7768064128ff589af356b39ae3b987add3e2e2c (patch) | |
tree | 10238318dd4ffe6674c2a027d3804d2230a61e47 /Makefile | |
parent | 0a62609a78ee3da5ed989e487228af6a3a7f7270 (diff) | |
download | fpc-e7768064128ff589af356b39ae3b987add3e2e2c.tar.gz |
Update Makefile's after commits 48929/48930
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@48940 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1073,10 +1073,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 |