Author: Andreas Tille <tille@debian.org>
LastChanged: Mon, 18 Nov 2013 14:22:50 +0100
Description: Propagate hardening options

--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ CC=gcc  # Gnu C Compiler
 #CC=cc  # SGI Irix
 #CC=vcc # some DEC Ultrix
 
-CFLAGS= -g -O2
+CFLAGS+= -g -O2
 #CFLAGS= -DSMALLCHECKSUM  # if you prefer to use a GCG-standard 13 bit checksum
 #    instead of a full 32 bit checksum. This may enhance compatibility w/ GCG software
 
@@ -48,7 +48,7 @@ all: build
 # if using NCBI, uncomment these lines in place of build: above
 build: $(SOURCES)
 	@echo "Compiling readseq with NCBI toolkit support and ARB patches";
-	$(CC) -o readseq $(NLDFLAGS) $(NCFLAGS) $(ARBFLAGS) readseq.c ureadseq.c ureadasn.c $(NLIBS)
+	$(CC) -o readseq $(NLDFLAGS) $(NCFLAGS) $(ARBFLAGS) readseq.c ureadseq.c ureadasn.c $(NLIBS) $(LDFLAGS)
 
 test: 
 	@echo ""
