mirror of https://github.com/ioquake/ioq3.git
Fix OSX app/ub scripts
This commit is contained in:
parent
59061e853e
commit
0183f3978a
7
Makefile
7
Makefile
|
@ -425,6 +425,13 @@ ifeq ($(PLATFORM),darwin)
|
||||||
OPTIMIZEVM += -arch x86_64 -mfpmath=sse
|
OPTIMIZEVM += -arch x86_64 -mfpmath=sse
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# When compiling on OSX for OSX, we're not cross compiling as far as the
|
||||||
|
# Makefile is concerned, as target architecture is specified as a compiler
|
||||||
|
# argument
|
||||||
|
ifeq ($(COMPILE_PLATFORM),darwin)
|
||||||
|
CROSS_COMPILING=0
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CROSS_COMPILING),1)
|
ifeq ($(CROSS_COMPILING),1)
|
||||||
ifeq ($(ARCH),ppc)
|
ifeq ($(ARCH),ppc)
|
||||||
CC=powerpc-apple-darwin10-gcc
|
CC=powerpc-apple-darwin10-gcc
|
||||||
|
|
Loading…
Reference in New Issue