summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-19 11:42:41 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-19 11:42:41 +0000
commit1e190d4e7ad04f9e29ae25b1bfa8952fca8dd99c (patch)
tree91f20927c7697c4ace65086ddeabd04de1f8a7ed /GNUmakefile
parent4d5ee0a9347c461af51611adbe9dea1c5e015cf9 (diff)
downloadcryptopp-1e190d4e7ad04f9e29ae25b1bfa8952fca8dd99c.tar.gz
set CXX to c++ on Darwin
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@173 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c3c00e0..de50af5 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