Package: primer3 / 2.3.6-1

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 19 Dec 2013 09:58:19 +0100
Description: Propagate hardening options

--- a/src/Makefile
+++ b/src/Makefile
@@ -59,8 +59,8 @@ O_OPTS     = -O2
 CC_OPTS    = -g -Wall -D__USE_FIXED_PROTOTYPES__
 P_DEFINES  =
 
-CFLAGS  = $(CC_OPTS) $(O_OPTS)
-LDFLAGS = -g
+CFLAGS  += $(CC_OPTS) $(O_OPTS)
+LDFLAGS += -g
 # Note, for profiling, use
 # make O_OPTS='-pg -O0' LDFLAGS='-g -pg'
 
@@ -163,7 +163,7 @@ $(NTTHAL_EXE): thal_main.o thal.o
 	$(CPP) $(LDFLAGS) -o $@ thal_main.o thal.o $(LDLIBS)
 
 $(OLIGOTM_EXE): oligotm_main.c oligotm.h $(LIBOLIGOTM)
-	$(CPP) $(CFLAGS) -o $@ oligotm_main.c $(LIBOLIGOTM) $(LIBOPTS) $(LDLIBS)
+	$(CPP) $(CFLAGS) $(LDFLAGS) -o $@ oligotm_main.c $(LIBOLIGOTM) $(LIBOPTS) $(LDLIBS)
 
 $(LONG_SEQ_EXE): long_seq_tm_test_main.c oligotm.o
 	$(CPP) $(CFLAGS) -o $@ long_seq_tm_test_main.c oligotm.o $(LIBOPTS) $(LDLIBS)