netmap: tools: extend CFLAGS after including bsd.prog.mk
MFC after: 1 week
This commit is contained in:
parent
61b4d85fe5
commit
f5c3d06950
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user