Package: t-coffee / 13.41.0.28bdc39+dfsg-4

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
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 21 Dec 2015 21:30:36 +0100
Description: propagate hardening options

--- a/t_coffee_source/makefile
+++ b/t_coffee_source/makefile
@@ -1,14 +1,14 @@
 CC=g++
-CFLAGS=-O3 -Wno-write-strings
+CFLAGS+=-O3 -Wno-write-strings
 SOURCES := $(shell find . -type f -name *.c)
 OBJECTS := $(SOURCES:.c=.o)
 DEPS := $(OBJECTS:.o=.deps)
  
 t_coffee: $(OBJECTS)
-	@echo " Linking..."; $(CC) $^ -o t_coffee -lm
+	@echo " Linking..."; $(CC) $^ -o t_coffee -lm $(LDFLAGS)
  
 %.o: %.c
-	@echo " CC $<"; $(CC) $(CFLAGS) -I. -MD -MF $(@:.o=.deps) -c -o $@ $<
+	@echo " CC $<"; $(CC) $(CPPFLAGS) $(CFLAGS) -I. -MD -MF $(@:.o=.deps) -c -o $@ $<
  
 -include $(DEPS)