File: hardening.patch

package info (click to toggle)
murasaki 1.68.6-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,768 kB
  • sloc: cpp: 16,010; perl: 8,365; makefile: 187; sh: 31
file content (24 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (2)
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: 2015-04-15
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)