From 3f87eda7bfc6a579563c06391cf196c328863a11 Mon Sep 17 00:00:00 2001 From: Vincenzo Maffione Date: Sat, 3 Oct 2020 13:27:12 +0000 Subject: [PATCH] netmap: tools: extend CFLAGS after including bsd.prog.mk MFC after: 1 week --- tools/tools/netmap/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/tools/netmap/Makefile b/tools/tools/netmap/Makefile index bc8ef6e8552b..1d358544a261 100644 --- a/tools/tools/netmap/Makefile +++ b/tools/tools/netmap/Makefile @@ -7,8 +7,9 @@ PROGS = pkt-gen nmreplay bridge lb CLEANFILES = $(PROGS) *.o MAN= -CFLAGS += -Werror -Wall -CFLAGS += -Wextra + +.include +.include LDFLAGS += -lpthread .ifdef WITHOUT_PCAP @@ -18,9 +19,6 @@ LDFLAGS += -lpcap .endif LDFLAGS += -lm # used by nmreplay -.include -.include - CFLAGS += -Wno-cast-align all: $(PROGS)