summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-05-27 20:22:20 +0000
committertruelight <truelight@openttd.org>2006-05-27 20:22:20 +0000
commitc2966591f7813956d9c5c3a860f0312a0b129c71 (patch)
tree951912e011bc22386856797c6a6a25d4f3a0c05e
parente58789859823d5bea56c92d842f090aa89a31398 (diff)
downloadopenttd-c2966591f7813956d9c5c3a860f0312a0b129c71.tar.xz
(svn r4993) -Fix: if 1 file is C++, link the whole project with g++
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f2c7d28d..9ed376689 100644
--- a/Makefile
+++ b/Makefile
@@ -857,7 +857,7 @@ ifndef MACOSX_BUILD
# OSX links in os/macosx/Makefile to handle universal binaries better
$(TTD): $(OBJS) $(MAKE_CONFIG)
@echo '===> Linking $@'
- $(Q)$(CC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@
+ $(Q)$(CXX) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@
endif
$(STRGEN): strgen/strgen.c endian_host.h