From 9eab2390bcb3ee7dbfa4d25812fc9d42d341464f 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 --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index c3c00e0e..de50af5f 100644 --- a/GNUmakefile +++ b/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