diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-08-04 10:19:49 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-08-04 10:19:49 +0000 |
commit | c483f154ec12dd81453eef887f835764042c9c79 (patch) | |
tree | c51baf73763a029c595b64f8def40eca706e5ab1 /packages/libndsfpc/examples/Makefile | |
parent | 1ada202a89cd295dc8b7ff3d654f46aecbba3840 (diff) | |
download | fpc-c483f154ec12dd81453eef887f835764042c9c79.tar.gz |
Regenerated all Makefile's
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@46224 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/libndsfpc/examples/Makefile')
-rw-r--r-- | packages/libndsfpc/examples/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/libndsfpc/examples/Makefile b/packages/libndsfpc/examples/Makefile index 812c000bf5..12c095ef8a 100644 --- a/packages/libndsfpc/examples/Makefile +++ b/packages/libndsfpc/examples/Makefile @@ -861,6 +861,13 @@ CROSSGCCOPT=-m32 endif endif endif +ifeq ($(CPU_TARGET),powerpc) +ifeq ($(BINUTILSPREFIX),) +GCCLIBDIR:=$(shell dirname `gcc -m32 -print-libgcc-file-name`) +else +CROSSGCCOPT=-m32 +endif +endif ifeq ($(CPU_TARGET),powerpc64) ifeq ($(BINUTILSPREFIX),) GCCLIBDIR:=$(shell dirname `gcc -m64 -print-libgcc-file-name`) |