Package: murasaki / 1.68.6-6

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 15 Apr 2015 14:06:19 +0200
Description: Hack in LDFLAGS for hardening

--- a/Makefile
+++ b/Makefile
@@ -18,4 +18,4 @@ clean:
 depend:
 	$(MAKE) -C src depend
 
-#bind them
\ No newline at end of file
+#bind them
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,7 +14,7 @@
 
 #If your libraries (boost/cryptopp) are in another directory, add them here:
 INCLUDE	 += -I/usr/include/pstreams
-LDLIBS    = -lboost_regex -lboost_filesystem -lboost_iostreams -lboost_system
+LDLIBS    = -lboost_regex -lboost_filesystem -lboost_iostreams -lboost_system $(LDFLAGS)
 ##some systems might use this boost naming scheme, but they're a minority at this point
 #LDLIBS    = -lboost_regex -lboost_filesystem -lboost_iostreams 
 CPPFLAGS += $(OPTIM) $(INCLUDE) -Wall $(MARCH)