mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
-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
13 lines
358 B
Text
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)
|