summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-01-07 12:53:57 +0000
committerbjarni <bjarni@openttd.org>2006-01-07 12:53:57 +0000
commita8a2b93df56eadcfee735dc78039967c306a4b20 (patch)
treef57ac92bd71c9b99924fb31dd26bf2ed80cefb87 /os
parent58acfeacaa2c08433da15b4583ff5bd19d76801f (diff)
downloadopenttd-a8a2b93df56eadcfee735dc78039967c306a4b20.tar.xz
(svn r3382) -Feature: [OSX] added the flag JAGUAR to crosscompile for OSX 10.2.8 on 10.4
Diffstat (limited to 'os')
-rw-r--r--os/macosx/Makefile.setup8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/macosx/Makefile.setup b/os/macosx/Makefile.setup
index 8d22780fc..befa231c5 100644
--- a/os/macosx/Makefile.setup
+++ b/os/macosx/Makefile.setup
@@ -68,6 +68,14 @@ ifdef WITH_SDL
endif
endif
+ifdef JAGUAR
+ LIBPNG-CONFIG:=$(LIBPNG_PPC_CONFIG)
+ SDL-CONFIG:=$(SDL_PPC_CONFIG)
+ CC_TARGET:=$(PPC_CC)
+ CFLAGS:= $(CFLAGS_PPC) -arch ppc
+ LDFLAGS:= $(LDFLAGS_PPC)
+endif
+
ifdef FAT_BINARY
# set up config files
ifndef SKIP_LIB_TEST