libcryptopp/libcryptopp-5.6.1-libcryptopp-CXXFLAGS.patch

13 lines
483 B
Diff

diff -Nru libcryptopp-5.6.1.orig/GNUmakefile libcryptopp-5.6.1/GNUmakefile
--- libcryptopp-5.6.1.orig/GNUmakefile 2013-03-28 11:53:42.647445161 +0000
+++ libcryptopp-5.6.1/GNUmakefile 2013-03-28 12:02:52.083097231 +0000
@@ -151,7 +151,7 @@
$(RANLIB) $@
libcryptopp.so: $(LIBOBJS)
- $(CXX) -shared -o $@ $(LIBOBJS)
+ $(CXX) -shared -o $@ $(CXXFLAGS) $(LIBOBJS)
cryptest.exe: libcryptopp.a $(TESTOBJS)
$(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS)