summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-05-27 17:53:31 +0000
committertruelight <truelight@openttd.org>2006-05-27 17:53:31 +0000
commit1e0f16540738440488b2b734bd63f0f2ca4f6774 (patch)
treebb1e8e49a72ccfd4bcd6298763bd87ee59a9e356 /os
parent49526b594fc6586f86f4262a8f19f2f770785c10 (diff)
downloadopenttd-1e0f16540738440488b2b734bd63f0f2ca4f6774.tar.xz
(svn r4990) -Fix: use CXX to link MacOSX OpenTTD, not CC
Diffstat (limited to 'os')
-rw-r--r--os/macosx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/macosx/Makefile b/os/macosx/Makefile
index fb25ccef1..217569db4 100644
--- a/os/macosx/Makefile
+++ b/os/macosx/Makefile
@@ -50,15 +50,15 @@ $(TTD): $(OTTD_PPC) $(OTTD_i386) $(OTTD_PPC970)
$(OTTD_PPC): $(MAKE_CONFIG) $(OBJS_ppc)
@echo '[PowerPC] Linking $(TTD)'
- $(Q)$(CC_PPC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS_ppc) $(LIBS) $(LDFLAGS_PPC) -o $@
+ $(Q)$(CXX_PPC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS_ppc) $(LIBS) $(LDFLAGS_PPC) -o $@
$(OTTD_i386): $(MAKE_CONFIG) $(OBJS_i386)
@echo '[i386] Linking $(TTD)'
- $(Q)$(CC_I386) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS_i386) $(LIBS) $(LDFLAGS_i386) -o $@
+ $(Q)$(CXX_I386) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS_i386) $(LIBS) $(LDFLAGS_i386) -o $@
$(OTTD_PPC970): $(MAKE_CONFIG) $(OBJS_ppc970)
@echo '[PowerPC G5] Linking $(TTD)'
- $(Q)$(CC_PPC970) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS_ppc970) $(LIBS) $(LDFLAGS_PPC) $(G5_FLAGS) -o $@
+ $(Q)$(CXX_PPC970) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS_ppc970) $(LIBS) $(LDFLAGS_PPC) $(G5_FLAGS) -o $@
# targets to compile each c, m and cpp file
.OSX/%.o.ppc: %.c .deps/%.d