# HG changeset patch # User truelight # Date 1148761340 0 # Node ID 2d480082321fcadc725be4cad8b648d55e04d1f2 # Parent 42a6f3807e916515e1a282ecc4c25daf2c2f86c6 (svn r4993) -Fix: if 1 file is C++, link the whole project with g++ diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -857,7 +857,7 @@ # 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