1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/security/cryptopp/files/patch-aa
Ying-Chieh Liao 99b5022eac add cryptopp, a free C++ class library of cryptographic schemes
PR:		24432
Submitted by:	George Reid <greid@ukug.uk.freebsd.org>
2001-03-05 06:58:43 +00:00

38 lines
928 B
Plaintext

--- GNUmakefile.orig Thu Jan 18 11:46:13 2001
+++ GNUmakefile Thu Jan 18 12:36:40 2001
@@ -1,4 +1,4 @@
-CXXFLAGS = -O2 -w
+CXXFLAGS += -w
ARFLAGS = cr
RANLIB = ranlib
UNAME = $(shell uname)
@@ -6,7 +6,7 @@
ifeq ($(UNAME),) # for DJGPP, where uname doesn't exist
CXXFLAGS := $(CXXFLAGS) -mbnu210
else
-CXXFLAGS := $(CXXFLAGS) -pipe
+CXXFLAGS := $(CXXFLAGS)
endif
ifeq ($(UNAME),SunOS)
@@ -28,16 +28,16 @@
TESTOBJS = bench.o test.o validat1.o validat2.o validat3.o
LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS))
-all: cryptest.exe
+all: cryptest
clean:
- $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS)
+ $(RM) cryptest libcryptopp.a $(LIBOBJS) $(TESTOBJS)
libcryptopp.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $@ $(LIBOBJS)
$(RANLIB) $@
-cryptest.exe: libcryptopp.a $(TESTOBJS)
+cryptest: libcryptopp.a $(TESTOBJS)
$(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS)
.SUFFIXES: .cpp