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 27 28 29 30 31 32 33
|
Description: propagate FORTIFY macro definitions.
This is necessary to obtain full hardening of the resulting binaries.
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2025-03-02
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
@@ -9,10 +9,10 @@
all : fastDNAml
fastDNAml : fastDNAml.o
- $(CC) $(CFLAGS) -o fastDNAml fastDNAml.o $(LDFLAGS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o fastDNAml fastDNAml.o $(LDFLAGS)
fastDNAml.o : fastDNAml.c fastDNAml.h
- $(CC) $(CFLAGS) -c fastDNAml.c
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c fastDNAml.c
clean :
$(RM) fastDNAml.o
@@ -1,7 +1,7 @@
all: fastDNAml
fastDNAml:
- cd source && $(CC) ${CFLAGS} fastDNAml.c -o fastDNAml -lm ${LDFLAGS}
+ cd source && $(CC) $(CPPFLAGS) ${CFLAGS} fastDNAml.c -o fastDNAml -lm ${LDFLAGS}
install:
install -m0755 source/fastDNAml debian/fastDNAml-util ${DESTDIR}/usr/bin
|