1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Fix makefile ignoring env vars
Append the local values to the already provided CFLAGS/LDFLAGS
from the environment. Add CPPFLAGS to CFLAGS - fixes hardening.
.
Author: Boian Bonev <[email protected]>
Origin: other
Forwarded: by-email
Last-Update: 2023-02-23
--- a/Makefile
b/Makefile
@@ -1,6 1,6 @@
-CFLAGS= -Wall -g
-LDFLAGS= -g
-LIBS= -lpcap
CFLAGS = $(CPPFLAGS) -Wall -g
LDFLAGS = -g
LIBS = -lpcap
all: dhcpdump dhcpdump.8
|