Package: suitename / 0.3.070628-2

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 22 Jul 2015 09:44:21 +0200
Description: Propagate hardening options

--- a/Makefile.linux
+++ b/Makefile.linux
@@ -1,9 +1,7 @@
 # suitename
 
 ifeq ($(MAKECMDGOALS),debug)
-CFLAGS = -g
-else
-CFLAGS =
+CFLAGS += -g
 endif
 
 LIBS = -lm 
@@ -15,7 +13,7 @@ OBJS = suitename.o suitenscrt.o suitenin
 # ---------------------------------------------------------------------
 HEADERS = suitename.h suitenscrt.h suitenutil.h suiteninit.h suiteninpt.h suitenout.h
 suitename: $(OBJS)
-	cc -o suitename $(CFLAGS) $(OBJS) $(LIBS)
+	cc -o suitename $(CFLAGS) $(OBJS) $(LIBS) $(LDFLAGS)
 
 debug:     $(OBJS)
 	cc -o suitename $(CFLAGS) $(OBJS) $(LIBS)