Przeglądaj źródła

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

git-svn-id: trunk@33538 -
Jonas Maebe 9 lat temu
rodzic
commit
69ad962544
2 zmienionych plików z 6 dodań i 0 usunięć
  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