From d446915a45f29676c92e525a2be36ab48e76a71a Mon Sep 17 00:00:00 2001 From: truelight Date: Sat, 27 May 2006 20:22:20 +0000 Subject: (svn r4993) -Fix: if 1 file is C++, link the whole project with g++ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2