diff options
author | truelight <truelight@openttd.org> | 2006-05-27 20:22:20 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-05-27 20:22:20 +0000 |
commit | c2966591f7813956d9c5c3a860f0312a0b129c71 (patch) | |
tree | 951912e011bc22386856797c6a6a25d4f3a0c05e /Makefile | |
parent | e58789859823d5bea56c92d842f090aa89a31398 (diff) | |
download | openttd-c2966591f7813956d9c5c3a860f0312a0b129c71.tar.xz |
(svn r4993) -Fix: if 1 file is C++, link the whole project with g++
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |