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
@@ -105,7 +105,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
