File: 0006_hardening.patch

package info (click to toggle)
avr-evtd 1.7.7-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 440 kB
  • sloc: ansic: 1,152; sh: 212; makefile: 50
file content (15 lines) | stat: -rw-r--r-- 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-11-27
Description: Make sure build options (for instance for hardening) are propagated

--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ endif
 all: avr-evtd
 
 avr-evtd: avr-evtd.c
-	$(CC) $(CFLAGS) -o avr-evtd avr-evtd.c
+	$(CC) $(CPPFLAGS) $(CFLAGS) -o avr-evtd avr-evtd.c $(LDFLAGS)
 
 clean:
 	rm -f avr-evtd