svn commit: r366499 - stable/12/tools/tools/netmap
Vincenzo Maffione
vmaffione at FreeBSD.org
Tue Oct 6 19:15:12 UTC 2020
Author: vmaffione
Date: Tue Oct 6 19:15:11 2020
New Revision: 366499
URL: https://svnweb.freebsd.org/changeset/base/366499
Log:
MFC r366394
netmap: tools: extend CFLAGS after including bsd.prog.mk
MFC after: 1 week
Modified:
stable/12/tools/tools/netmap/Makefile
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/tools/tools/netmap/Makefile
==============================================================================
--- stable/12/tools/tools/netmap/Makefile Tue Oct 6 19:14:03 2020 (r366498)
+++ stable/12/tools/tools/netmap/Makefile Tue Oct 6 19:15:11 2020 (r366499)
@@ -7,9 +7,10 @@ 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
CFLAGS += -DNO_PCAP
@@ -17,9 +18,6 @@ CFLAGS += -DNO_PCAP
LDFLAGS += -lpcap
.endif
LDFLAGS += -lm # used by nmreplay
-
-.include <bsd.prog.mk>
-.include <bsd.lib.mk>
CFLAGS += -Wno-cast-align
More information about the svn-src-all
mailing list