Browse Source

* now linux crosscompile works

marco 22 years ago
parent
commit
428a7c051f
2 changed files with 5 additions and 5 deletions
  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