use osxcross compilers
This commit is contained in:
parent
68dbb8a1bb
commit
708fe6937a
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue