Parcourir la source

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

git-svn-id: trunk@11068 -

Jonas Maebe il y a 17 ans
Parent
commit
fb3242b2f7
2 fichiers modifiés avec 171 ajouts et 156 suppressions
  1. 165 156
      utils/fpcm/fpcmake.inc
  2. 6 0
      utils/fpcm/fpcmake.ini

Fichier diff supprimé car celui-ci est trop grand
+ 165 - 156
utils/fpcm/fpcmake.inc


+ 6 - 0
utils/fpcm/fpcmake.ini

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

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff