netmap: tools: extend CFLAGS after including bsd.prog.mk

MFC after:	1 week
This commit is contained in:
vmaffione 2020-10-03 13:27:12 +00:00
parent 61b4d85fe5
commit f5c3d06950

View File

@ -7,8 +7,9 @@ PROGS = pkt-gen nmreplay bridge lb
CLEANFILES = $(PROGS) *.o
MAN=
CFLAGS += -Werror -Wall
CFLAGS += -Wextra
.include <bsd.prog.mk>
.include <bsd.lib.mk>
LDFLAGS += -lpthread
.ifdef WITHOUT_PCAP
@ -18,9 +19,6 @@ LDFLAGS += -lpcap
.endif
LDFLAGS += -lm # used by nmreplay
.include <bsd.prog.mk>
.include <bsd.lib.mk>
CFLAGS += -Wno-cast-align
all: $(PROGS)