Package: jesred / 1.2pl1-22

06-hardening 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
Description: fix compilation infrastructure to allow hardening options
Author: Alexander Zangerl <az@debian.org>

--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,6 @@
 CC=gcc
 
 INCLUDE         = -I.
-LDFLAGS         = 
 #LDFLAGS         = -pg -lc_p
 
 # Compiler Options
@@ -70,7 +69,7 @@ OBJS	=  \
 CFILES  = $(patsubst %.o,%.c,$(OBJS))
 
 PROGS	= jesred
-CFLAGS  = $(AC_CFLAGS) $(INCLUDE)
+CFLAGS  += $(AC_CFLAGS) $(INCLUDE)
 LIBS    = -L. $(XTRA_LIBS)
 
 .SUFFIXES: .o