diff options
author | Xin LI <delphij@FreeBSD.org> | 2012-07-23 22:44:33 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2012-07-23 22:44:33 +0000 |
commit | a6cc38da5032392be3bdceb02eb5da28ab1e7807 (patch) | |
tree | 22ddd84554915cc91971615f4392f4e71f3d1f94 /security/cryptopp/files/patch-GNUmakefile | |
parent | - remove old apache13 parts (diff) |
Make it possible to build and install shared library of crypto++, and
convert to use OPTIONSng [1].
While I'm there, also add an option to build with GCC 4.6.x and newer
binutils, which enables use of AES-NI.
PR: ports/170045
Submitted by: Michael Gmelin <freebsd grem.de>
Notes
Notes:
svn path=/head/; revision=301416
Diffstat (limited to 'security/cryptopp/files/patch-GNUmakefile')
-rw-r--r-- | security/cryptopp/files/patch-GNUmakefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/security/cryptopp/files/patch-GNUmakefile b/security/cryptopp/files/patch-GNUmakefile index 43ca3c81f89f..61a065dc0425 100644 --- a/security/cryptopp/files/patch-GNUmakefile +++ b/security/cryptopp/files/patch-GNUmakefile @@ -1,5 +1,5 @@ --- ./GNUmakefile.orig 2010-08-09 14:22:42.000000000 -0700 -+++ ./GNUmakefile 2011-01-27 12:43:08.905856979 -0800 ++++ ./GNUmakefile 2012-07-21 03:14:01.000000000 +0200 @@ -1,4 +1,4 @@ -CXXFLAGS = -DNDEBUG -g -O2 +#CXXFLAGS = -DNDEBUG -g -O2 @@ -19,3 +19,12 @@ ISMINGW = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "mingw") ifneq ($(GCC42_OR_LATER),0) +@@ -151,7 +151,7 @@ + $(RANLIB) $@ + + libcryptopp.so: $(LIBOBJS) +- $(CXX) -shared -o $@ $(LIBOBJS) ++ $(CXX) -shared -o $@ $(CXXFLAGS) $(LDFLAGS) $(LIBOBJS) + + cryptest.exe: libcryptopp.a $(TESTOBJS) + $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS) |