diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-03-20 01:24:12 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-03-20 01:24:12 +0000 |
commit | d23a489940499bd6c634a1cb0a9875f094f8a850 (patch) | |
tree | f85b3bed971083e90e5f3dbb84539ea4ba0359e9 /GNUmakefile | |
parent | b3517523a738277cfe22428bd757833e69abb66e (diff) | |
download | cryptopp-d23a489940499bd6c634a1cb0a9875f094f8a850.tar.gz |
various changes for 5.1
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@38 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 375e531..942f7bd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,11 +17,17 @@ CXXFLAGS += -pipe endif ifeq ($(UNAME),Darwin) +AR = libtool +ARFLAGS = -static -o +CXXFLAGS += -D__pic__ +IS_GCC2 = $(shell c++ -v 2>&1 | grep -c gcc-932) +ifeq ($(IS_GCC2),1) +CXXFLAGS += -fno-coalesce-templates -fno-coalesce-static-vtables CXX = c++ -CXXFLAGS += -D__pic__ -fno-coalesce-templates -fno-coalesce-static-vtables LDLIBS += -lstdc++ LDFLAGS += -flat_namespace -undefined suppress -m endif +endif ifeq ($(UNAME),SunOS) LDLIBS += -lnsl -lsocket |