Package: mothur / 1.33.3+dfsg-2

uchime_hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
LastChanged: Tue, 30 Jul 2013 21:21:02 +0200
Description: Propagate hardening options to uchime

--- a/makefile
+++ b/makefile
@@ -99,7 +99,9 @@ mothur : fortranSource $(OBJECTS) uchime
 	strip mothur
  
 uchime:
-	cd uchime_src && ./mk && mv uchime .. && cd ..
+	echo ENV_GCC_OPTS="$(CPPFLAGS)"
+	echo ENV_LINK_OPTS="$(LDFLAGS)"
+	cd uchime_src && ENV_GCC_OPTS="$(CPPFLAGS)" ENV_LINK_OPTS="$(LDFLAGS)" ./mk && mv uchime .. && cd ..
 	
 fortranSource:
 	${FORTAN_COMPILER} -c $(FORTRAN_FLAGS) *.f