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
|
CLEANFILES = $(PROGS) *.o
|
||||||
MAN=
|
MAN=
|
||||||
CFLAGS += -Werror -Wall
|
|
||||||
CFLAGS += -Wextra
|
.include <bsd.prog.mk>
|
||||||
|
.include <bsd.lib.mk>
|
||||||
|
|
||||||
LDFLAGS += -lpthread
|
LDFLAGS += -lpthread
|
||||||
.ifdef WITHOUT_PCAP
|
.ifdef WITHOUT_PCAP
|
||||||
@ -18,9 +19,6 @@ LDFLAGS += -lpcap
|
|||||||
.endif
|
.endif
|
||||||
LDFLAGS += -lm # used by nmreplay
|
LDFLAGS += -lm # used by nmreplay
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
|
||||||
.include <bsd.lib.mk>
|
|
||||||
|
|
||||||
CFLAGS += -Wno-cast-align
|
CFLAGS += -Wno-cast-align
|
||||||
|
|
||||||
all: $(PROGS)
|
all: $(PROGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user