diff options
author | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-03-13 21:52:13 +0000 |
---|---|---|
committer | nickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2021-03-13 21:52:13 +0000 |
commit | 947f1fbab48fb5e268866fef99a7e53111d777ab (patch) | |
tree | f70710e93f6a849066a571d96dd1f72406be2788 /packages/ggi | |
parent | 1df4e051413aac8bcb360108ec82045b9fe3171e (diff) | |
download | fpc-947f1fbab48fb5e268866fef99a7e53111d777ab.tar.gz |
* regenerated makefiles after sync with trunk
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/wasm@48951 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/ggi')
-rw-r--r-- | packages/ggi/Makefile | 2 | ||||
-rw-r--r-- | packages/ggi/examples/Makefile | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/packages/ggi/Makefile b/packages/ggi/Makefile index b6610bccc9..37dae460ab 100644 --- a/packages/ggi/Makefile +++ b/packages/ggi/Makefile @@ -2295,7 +2295,7 @@ ifdef CREATESHARED override FPCOPT+=-Cg endif ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),) -ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),) +ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel riscv64),) override FPCOPT+=-Cg endif endif diff --git a/packages/ggi/examples/Makefile b/packages/ggi/examples/Makefile index 828516746d..3da346523d 100644 --- a/packages/ggi/examples/Makefile +++ b/packages/ggi/examples/Makefile @@ -912,10 +912,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 @@ -2735,7 +2743,7 @@ ifdef CREATESHARED override FPCOPT+=-Cg endif ifneq ($(findstring $(OS_TARGET),dragonfly freebsd openbsd netbsd linux solaris),) -ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel),) +ifneq ($(findstring $(CPU_TARGET),x86_64 mips mipsel riscv64),) override FPCOPT+=-Cg endif endif |