File: hardening.patch

package info (click to toggle)
compartment 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 208 kB
  • sloc: ansic: 1,095; makefile: 99
file content (15 lines) | stat: -rw-r--r-- 390 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-09-07
Description: Respect hardening options

--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ MAN_LIST=compartment.1
 all:	compartment
 
 compartment:	compartment.c
-	${CC} -c ${CFLAGS} ${CPPFLAGs} -o ${BIN_LIST} compartment.c
+	${CC} -c ${CFLAGS} ${CPPFLAGS} -o ${BIN_LIST} compartment.c ${LDFLAGS}
 #	strip ${BIN_LIST}
 
 clean: