Package: cain / 1.10+dfsg-2

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Propagate hardening flags
Author: Andreas Tille <tille@debian.org>
Date: Tue, 22 May 2012 07:59:45 +0200

--- a/src/solvers/Makefile
+++ b/src/solvers/Makefile
@@ -55,7 +55,7 @@ again:
 # Implicit rules.
 
 .cc.d: 
-	$(CXX) -MM $(CXXINCLUDE) $< > $@.$$$$; \
+	$(CXX) $(CPPFLAGS) -MM $(CXXFLAGS) $(LDFLAGS) $< > $@.$$$$; \
   sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
   $(RM) $@.$$$$