Browse Source

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

git-svn-id: trunk@46222 -
pierre 5 years ago
parent
commit
a5997e266f
2 changed files with 178 additions and 162 deletions
  1. 171 162
      utils/fpcm/fpcmake.inc
  2. 7 0
      utils/fpcm/fpcmake.ini

File diff suppressed because it is too large
+ 171 - 162
utils/fpcm/fpcmake.inc


+ 7 - 0
utils/fpcm/fpcmake.ini

@@ -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`)

Some files were not shown because too many files changed in this diff