summaryrefslogtreecommitdiff
path: root/os/macosx/Makefile.setup
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-12-10 23:03:59 +0000
committerbjarni <bjarni@openttd.org>2005-12-10 23:03:59 +0000
commit1adc1738f71db328568a830e384185bd47c4a0fe (patch)
tree4799043dc3a50980134763ad405adda574693d1f /os/macosx/Makefile.setup
parentad756fff551aa1e63a6a54e382bad12adf901a5e (diff)
downloadopenttd-1adc1738f71db328568a830e384185bd47c4a0fe.tar.xz
(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
Diffstat (limited to 'os/macosx/Makefile.setup')
-rw-r--r--os/macosx/Makefile.setup5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/macosx/Makefile.setup b/os/macosx/Makefile.setup
index f42f34bf4..8d22780fc 100644
--- a/os/macosx/Makefile.setup
+++ b/os/macosx/Makefile.setup
@@ -31,10 +31,10 @@ endif
# setup flags if none are defined
ifndef CFLAGS_PPC
- CFLAGS_PPC:= -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
+ CFLAGS_PPC:= -isysroot /Developer/SDKs/MacOSX10.2.8.sdk
endif
ifndef LDFLAGS_PPC
- LDFLAGS_PPC:= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk
+ LDFLAGS_PPC:= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk
endif
ifndef PPC_CC
PPC_CC:=powerpc-apple-darwin8-gcc-4.0.0
@@ -105,6 +105,7 @@ $(error no x86 SDL lib found)
CC_TARGET:=$(x86_CC)
# clear the cached list of PPC libs
LIBS:=
+ OBJS:=
CFLAGS:= $(CFLAGS_x86) -arch i386
LDFLAGS:= $(LDFLAGS_x86)
else