File: 20_add-GCC-hardening.patch

package info (click to toggle)
sysvbanner 1:1.0-16
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 112 kB
  • ctags: 7
  • sloc: ansic: 231; makefile: 15
file content (16 lines) | stat: -rw-r--r-- 460 bytes parent folder | 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