瀏覽代碼

patches from Peter

pierre 24 年之前
父節點
當前提交
aba26bad24
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. 7 3
      Makefile.fpc

+ 7 - 3
Makefile.fpc

@@ -25,11 +25,15 @@ endif
 
 # New ppc386 (or ppc68k if on m68k machine !)
 ifndef PPNEW
-ifdef FPC
-PPNEWBASE=$(notdir $(FPC))
-else
+ifeq ($(CPU_TARGET),m68k)
+PPNEWBASE=ppc68k
+endif
+ifeq ($(CPU_TARGET),i386)
 PPNEWBASE=ppc386
 endif
+ifeq ($(CPU_TARGET),powerpc)
+PPNEWBASE=ppcppc
+endif
 
 PPNEW=$(BASEDIR)/compiler/$(PPNEWBASE)$(SRCEXEEXT)
 endif