瀏覽代碼

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

git-svn-id: trunk@11068 -

Jonas Maebe 17 年之前
父節點
當前提交
fb3242b2f7
共有 2 個文件被更改,包括 171 次插入156 次删除
  1. 165 156
      utils/fpcm/fpcmake.inc
  2. 6 0
      utils/fpcm/fpcmake.ini

文件差異過大導致無法顯示
+ 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

部分文件因文件數量過多而無法顯示