Răsfoiți Sursa

* don't set CROSSCOMPILE when compiling from darwin to darwin
(regardless of source and target architectures)

git-svn-id: trunk@11068 -

Jonas Maebe 17 ani în urmă
părinte
comite
fb3242b2f7
2 a modificat fișierele cu 171 adăugiri și 156 ștergeri
  1. 165 156
      utils/fpcm/fpcmake.inc
  2. 6 0
      utils/fpcm/fpcmake.ini

Fișier diff suprimat deoarece este prea mare
+ 165 - 156
utils/fpcm/fpcmake.inc


+ 6 - 0
utils/fpcm/fpcmake.ini

@@ -276,9 +276,15 @@ SOURCESUFFIX=$(FULL_SOURCE)
 endif
 endif
 
 
 # Cross compile flag
 # Cross compile flag
+ifeq  ($(OS_TARGET),darwin)
+ifneq ($(OS_SOURCE),darwin)
+CROSSCOMPILE=1
+endif
+else
 ifneq ($(FULL_TARGET),$(FULL_SOURCE))
 ifneq ($(FULL_TARGET),$(FULL_SOURCE))
 CROSSCOMPILE=1
 CROSSCOMPILE=1
 endif
 endif
+endif
 
 
 # Check if the Makefile supports this target, but not
 # Check if the Makefile supports this target, but not
 # when the make target is to rebuild the makefile
 # when the make target is to rebuild the makefile

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff