1
Description: Add CPPFLAGS, CFLAGS and LDFLAGS to use hardening flags
3
Author: Daniel Echeverry <epsilon77@gmail.com>
4
Last-Update: 2013-08-25
7
@@ -24,7 +24,7 @@ OBJS= rzip.o runzip.o main.o stream.o ut
9
# note that the -I. is needed to handle config.h when using VPATH
11
- $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< -o $@
12
+ $(CC) -I. -I$(srcdir) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
16
@@ -39,7 +39,7 @@ install: all
17
ln ${INSTALL_MAN}/man1/rzip.1 ${INSTALL_MAN}/man1/runzip.1
20
- $(CC) $(CFLAGS) -o rzip $(OBJS) $(LIBS)
21
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o rzip $(OBJS) $(LIBS)
24
yodl2man -o rzip.1 rzip.yo