summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2017-06-23 23:17:06 +0000
committerRobert Mustacchi <rm@joyent.com>2017-07-15 15:54:13 +0000
commitf7a6c610f377edae8140786b8370eaa4724acc18 (patch)
tree5d01f53c9822c3d7b834e58f6914d866bed45bce
parent76080d4a09fda7b0bc49345c639b48c209a3e95a (diff)
downloadillumos-joyent-f7a6c610f377edae8140786b8370eaa4724acc18.tar.gz
Gag unused-variable and unused-warning
There are a lot of things that are due to the options of disabling crossbow, etc.
-rw-r--r--usr/src/uts/intel/qede/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/uts/intel/qede/Makefile b/usr/src/uts/intel/qede/Makefile
index b930c8c3ba..816bed905a 100644
--- a/usr/src/uts/intel/qede/Makefile
+++ b/usr/src/uts/intel/qede/Makefile
@@ -40,6 +40,12 @@ CPPFLAGS += -I$(UTSBASE)/common/io/qede/579xx/hsi/
CPPFLAGS += -I$(UTSBASE)/common/io/qede/579xx/hsi/hw
CPPFLAGS += -I$(UTSBASE)/common/io/qede/579xx/hsi/mcp
+#
+# XXX Temporarily gag this as there are a ton of these in the code base.
+#
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-label
+
ALL_TARGET = $(BINARY) $(CONFMOD)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)