netmap: tools: extend CFLAGS after including bsd.prog.mk
MFC after: 1 week
This commit is contained in:
parent
7eb32dc8f0
commit
3f87eda7bf
@ -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