File: hardening.patch

package info (click to toggle)
pixelize 2.0.0~git20220108.d1f9da9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 540 kB
  • sloc: ansic: 2,248; makefile: 50; python: 45
file content (19 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 08 Mar 2022 08:21:05 +0100
Description: Propagate hardening options

--- a/Makefile
+++ b/Makefile
@@ -34,10 +34,10 @@ PIX_OBJS = $(filter-out obj/make_db.o,$(
 all:	obj make_db pixelize
 
 make_db:	$(DB_OBJS)
-	$(CC) -o $@ $(DB_OBJS) $(DFLAGS) $(LIBS)
+	$(CC) -o $@ $(DB_OBJS) $(DFLAGS) $(LDFLAGS) $(LIBS)
 
 pixelize:	$(PIX_OBJS)
-	$(CC) -o $@ $(PIX_OBJS) $(DFLAGS) $(LIBS)
+	$(CC) -o $@ $(PIX_OBJS) $(DFLAGS) $(LDFLAGS) $(LIBS)
 
 obj/%.o:	depend
 obj/%.o:	src/%.c