summaryrefslogtreecommitdiff
path: root/os/macosx
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-02-25 22:03:30 +0000
committerbjarni <bjarni@openttd.org>2006-02-25 22:03:30 +0000
commit3e2f13f8d14e0a74e4e4a6c0cf11d2b50e4e6518 (patch)
tree8c262b08708f7407966ab12e2003ed136e7ac7fd /os/macosx
parentd09e66eef68cd9a4656cc10ffb9165894a81342e (diff)
downloadopenttd-3e2f13f8d14e0a74e4e4a6c0cf11d2b50e4e6518.tar.xz
(svn r3675) -Fix: [OSX] made the default gcc names for building universal binaries into the newest gcc for each target instead of hardcoding it for 4.0.0
Diffstat (limited to 'os/macosx')
-rw-r--r--os/macosx/Makefile.setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/macosx/Makefile.setup b/os/macosx/Makefile.setup
index 990efb122..af4fd2e55 100644
--- a/os/macosx/Makefile.setup
+++ b/os/macosx/Makefile.setup
@@ -54,7 +54,7 @@ ifndef LDFLAGS_PPC
LDFLAGS_PPC:= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk
endif
ifndef PPC_CC
- PPC_CC:=powerpc-apple-darwin8-gcc-4.0.0
+ PPC_CC:=$(shell ls /usr/bin/powerpc-apple-darwin*-gcc* | tail -n 1)
endif
ifndef CFLAGS_x86
CFLAGS_x86:= -isysroot /Developer/SDKs/MacOSX10.4u.sdk
@@ -63,7 +63,7 @@ ifndef LDFLAGS_x86
LDFLAGS_x86:= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
endif
ifndef x86_CC
- x86_CC:=i686-apple-darwin8-gcc-4.0.0
+ x86_CC:=$(shell ls /usr/bin/i686-apple-darwin*-gcc* | tail -n 1)
endif
ifdef WITH_PNG
ifndef LIBPNG_PPC_CONFIG