|
@@ -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
|