Browse Source

* fixed cross-assembling the Linux/ppc32 loader files on a 64 bit Linux host

git-svn-id: trunk@33538 -
Jonas Maebe 9 years ago
parent
commit
69ad962544
2 changed files with 6 additions and 0 deletions
  1. 3 0
      rtl/linux/Makefile
  2. 3 0
      rtl/linux/Makefile.fpc

+ 3 - 0
rtl/linux/Makefile

@@ -3574,6 +3574,9 @@ endif
 ifeq ($(ARCH),x86_64)
   ASTARGET=--64
 endif
+ifeq ($(ARCH),powerpc)
+  ASTARGET=-a32
+endif
 ifeq ($(ARCH),powerpc64)
   ASTARGET=-a64
 endif

+ 3 - 0
rtl/linux/Makefile.fpc

@@ -137,6 +137,9 @@ endif
 ifeq ($(ARCH),x86_64)
   ASTARGET=--64
 endif
+ifeq ($(ARCH),powerpc)
+  ASTARGET=-a32
+endif
 ifeq ($(ARCH),powerpc64)
   ASTARGET=-a64
 endif