Use the buildworld includes and defaults when building pkt-gen. This will

mean that you need a world built to reliably build pkg-gen but this keeps
the build from failing when your source doesn't match your host running
version, e.g. building 12 on 11.

Submitted by:	Matt Macy <mmacy@nextbsd.org>
MFC after:	2 weeks
Sponsored by:	Limelight Networks
This commit is contained in:
Sean Bruno 2017-03-08 17:29:40 +00:00
parent 112d8ca98c
commit a3afd05ce4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314915

View File

@ -8,7 +8,6 @@ PROGS = pkt-gen nmreplay bridge vale-ctl
CLEANFILES = $(PROGS) *.o
MAN=
CFLAGS += -Werror -Wall
CFLAGS += -nostdinc -I ../../../sys -I/usr/include
CFLAGS += -Wextra
LDFLAGS += -lpthread