Explorar el Código

* now linux crosscompile works

marco hace 22 años
padre
commit
428a7c051f
Se han modificado 2 ficheros con 5 adiciones y 5 borrados
  1. 2 2
      Makefile
  2. 3 3
      Makefile.fpc

+ 2 - 2
Makefile

@@ -223,10 +223,10 @@ ifeq ($(CPU_TARGET),alpha)
 PPSUF=axp
 endif
 ifneq ($(OS_TARGET),$(OS_SOURCE))
-PPPRE=ppcross$(CPU_TARGET)
+PPPRE=ppcross
 else
 ifneq ($(CPU_TARGET),$(CPU_SOURCE))
-PPPRE=ppcross$(CPU_TARGET)
+PPPRE=ppcross
 else
 PPPRE=ppc
 endif

+ 3 - 3
Makefile.fpc

@@ -38,12 +38,12 @@ ifeq ($(CPU_TARGET),alpha)
 PPSUF=axp
 endif
 
-
+# cross compilers uses full cpu_target, not just ppc-suffix.
 ifneq ($(OS_TARGET),$(OS_SOURCE))
-PPPRE=ppcross$(CPU_TARGET)
+PPPRE=ppcross
 else
 ifneq ($(CPU_TARGET),$(CPU_SOURCE))
-PPPRE=ppcross$(CPU_TARGET)
+PPPRE=ppcross
 else
 PPPRE=ppc
 endif