ports/net/pkt-gen/files/patch-pkt-gen_GNUmakefile
Stephen Hurd 7b5089dcda Disable extra warnings and especially -Werror
-Wall and -Wextra tend to highlight new compiler features, not new problems.
They don't need to be on when building a port... -Werror just makes them
worse.

PR:		230623
Reported by:	jbeich@
Sponsored by:	Limelight Networks
2018-08-15 02:26:35 +00:00

13 lines
358 B
Text

--- pkt-gen/GNUmakefile.orig 2018-08-15 02:22:27 UTC
+++ pkt-gen/GNUmakefile
@@ -10,9 +10,8 @@ VPATH = $(SRCDIR)/apps/pkt-gen
NO_MAN=
CFLAGS = -O2 -pipe
-CFLAGS += -Werror -Wall -Wunused-function
+CFLAGS += -Wunused-function
CFLAGS += -I $(SRCDIR)/sys -I $(SRCDIR)/apps/include
-CFLAGS += -Wextra
LDLIBS += -lpthread -lm
ifeq ($(shell uname),Linux)