summaryrefslogtreecommitdiff
path: root/packages/libndsfpc/examples/Makefile
diff options
context:
space:
mode:
authorpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-08-04 10:19:49 +0000
committerpierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-08-04 10:19:49 +0000
commitc483f154ec12dd81453eef887f835764042c9c79 (patch)
treec51baf73763a029c595b64f8def40eca706e5ab1 /packages/libndsfpc/examples/Makefile
parent1ada202a89cd295dc8b7ff3d654f46aecbba3840 (diff)
downloadfpc-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/Makefile7
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`)