From 48788825fbec6c45ee9f603f3f9182b72ef4fd80 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 11:42:41 +0000 Subject: [PATCH] set CXX to c++ on Darwin --- trunk/c5/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/c5/GNUmakefile b/trunk/c5/GNUmakefile index c3c00e0e..de50af5f 100644 --- a/trunk/c5/GNUmakefile +++ b/trunk/c5/GNUmakefile @@ -44,11 +44,11 @@ endif ifeq ($(UNAME),Darwin) AR = libtool ARFLAGS = -static -o +CXX = c++ CXXFLAGS += -D__pic__ IS_GCC2 = $(shell $(CXX) -v 2>&1 | grep -c gcc-932) ifeq ($(IS_GCC2),1) CXXFLAGS += -fno-coalesce-templates -fno-coalesce-static-vtables -CXX = c++ LDLIBS += -lstdc++ LDFLAGS += -flat_namespace -undefined suppress -m endif