Package: sysvbanner / 1:1.0-16

20_add-GCC-hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: add CPPFLAGS to allow GCC hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2017-09-22
Index: sysvbanner-1.0/Makefile
===================================================================
--- sysvbanner-1.0.orig/Makefile
+++ sysvbanner-1.0/Makefile
@@ -1,7 +1,7 @@
 CFLAGS=-Wall -O2
 
 banner: sysvbanner.c
-	$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
+	$(CC) $(CFLAGS) $(CPPFLAGS) $^ -o $@ $(LDFLAGS)
 
 clean:
 	$(RM) banner