svn commit: r477211 - head/net/pkt-gen/files

Stephen Hurd shurd at FreeBSD.org
Wed Aug 15 02:26:36 UTC 2018


Author: shurd
Date: Wed Aug 15 02:26:35 2018
New Revision: 477211
URL: https://svnweb.freebsd.org/changeset/ports/477211

Log:
  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

Added:
  head/net/pkt-gen/files/patch-pkt-gen_GNUmakefile   (contents, props changed)

Added: head/net/pkt-gen/files/patch-pkt-gen_GNUmakefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/pkt-gen/files/patch-pkt-gen_GNUmakefile	Wed Aug 15 02:26:35 2018	(r477211)
@@ -0,0 +1,13 @@
+--- 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)


More information about the svn-ports-head mailing list