Browse Source

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

git-svn-id: trunk@11068 -

Jonas Maebe 17 years ago
parent
commit
fb3242b2f7
2 changed files with 171 additions and 156 deletions
  1. 165 156
      utils/fpcm/fpcmake.inc
  2. 6 0
      utils/fpcm/fpcmake.ini

File diff suppressed because it is too large
+ 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

Some files were not shown because too many files changed in this diff