瀏覽代碼

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

git-svn-id: trunk@33538 -
Jonas Maebe 9 年之前
父節點
當前提交
69ad962544
共有 2 個文件被更改,包括 6 次插入0 次删除
  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