Add powerpc specific call to gcc to get the correct libgcc directory for linux

git-svn-id: trunk@46222 -
This commit is contained in:
pierre 2020-08-04 07:48:24 +00:00
parent fdb1cd38ab
commit a5997e266f
2 changed files with 416 additions and 400 deletions

File diff suppressed because it is too large Load Diff

View File

@ -852,6 +852,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`)