use osxcross compilers

This commit is contained in:
Tim Angus 2015-06-07 03:47:41 -07:00
parent 68dbb8a1bb
commit 708fe6937a

View file

@ -446,13 +446,13 @@ ifeq ($(PLATFORM),darwin)
endif endif
ifeq ($(CROSS_COMPILING),1) ifeq ($(CROSS_COMPILING),1)
ifeq ($(ARCH),ppc) ifeq ($(ARCH),x86_64)
CC=powerpc-apple-darwin10-gcc CC=x86_64-apple-darwin13-cc
RANLIB=powerpc-apple-darwin10-ranlib RANLIB=x86_64-apple-darwin13-ranlib
else else
ifeq ($(ARCH),x86) ifeq ($(ARCH),x86)
CC=i686-apple-darwin10-gcc CC=i386-apple-darwin13-cc
RANLIB=i686-apple-darwin10-ranlib RANLIB=i386-apple-darwin13-ranlib
else else
$(error Architecture $(ARCH) is not supported when cross compiling) $(error Architecture $(ARCH) is not supported when cross compiling)
endif endif