From c483f154ec12dd81453eef887f835764042c9c79 Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 4 Aug 2020 10:19:49 +0000 Subject: Regenerated all Makefile's git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@46224 3ad0048d-3df7-0310-abae-a5850022a9f2 --- packages/fcl-base/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/fcl-base/Makefile') diff --git a/packages/fcl-base/Makefile b/packages/fcl-base/Makefile index e6ec006d56..dc0507010b 100644 --- a/packages/fcl-base/Makefile +++ b/packages/fcl-base/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`) -- cgit v1.2.1