summaryrefslogtreecommitdiff
path: root/utils/fprcp
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 /utils/fprcp
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 'utils/fprcp')
-rw-r--r--utils/fprcp/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/fprcp/Makefile b/utils/fprcp/Makefile
index 2268627436..e2a6a8c017 100644
--- a/utils/fprcp/Makefile
+++ b/utils/fprcp/Makefile
@@ -565,6 +565,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`)