mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 20:11:40 +00:00
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
|
||||
|
||||
ifeq ($(CROSS_COMPILING),1)
|
||||
ifeq ($(ARCH),ppc)
|
||||
CC=powerpc-apple-darwin10-gcc
|
||||
RANLIB=powerpc-apple-darwin10-ranlib
|
||||
ifeq ($(ARCH),x86_64)
|
||||
CC=x86_64-apple-darwin13-cc
|
||||
RANLIB=x86_64-apple-darwin13-ranlib
|
||||
else
|
||||
ifeq ($(ARCH),x86)
|
||||
CC=i686-apple-darwin10-gcc
|
||||
RANLIB=i686-apple-darwin10-ranlib
|
||||
CC=i386-apple-darwin13-cc
|
||||
RANLIB=i386-apple-darwin13-ranlib
|
||||
else
|
||||
$(error Architecture $(ARCH) is not supported when cross compiling)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue