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 năm trước cách đây
mục cha
commit
fb3242b2f7
2 tập tin đã thay đổi với 171 bổ sung156 xóa
  1. 165 156
      utils/fpcm/fpcmake.inc
  2. 6 0
      utils/fpcm/fpcmake.ini

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác