Browse files

Use CPPFLAGS and LDFLAGS from the environment

Some tools like Debian's dpkg-buildflags use these variables to pass
hardening options so we need to pay attention to them.
  • Loading branch information...
1 parent 7be3608 commit 1c8e4cde79b3fc1b4eae4b946cab7679662d60e7 @rudis rudis committed with orebokech Apr 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
4 Makefile
@@ -5,7 +5,7 @@
DEBUG?= -g
CFLAGS?= -O2 -Wall -W
OBJ = visitors.o aht.o antigetopt.o tail.o
PRGNAME = visitors
@@ -14,7 +14,7 @@ all: visitors
visitors.o: visitors.c blacklist.h
visitors: $(OBJ)
- $(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ)

0 comments on commit 1c8e4cd

Please sign in to comment.