summaryrefslogtreecommitdiff
path: root/usr/src/cmd/zinject/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/zinject/Makefile.com')
-rw-r--r--usr/src/cmd/zinject/Makefile.com5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/cmd/zinject/Makefile.com b/usr/src/cmd/zinject/Makefile.com
index 76d297937f..6f21815fa8 100644
--- a/usr/src/cmd/zinject/Makefile.com
+++ b/usr/src/cmd/zinject/Makefile.com
@@ -22,6 +22,8 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2016 by Delphix. All rights reserved.
+#
PROG:sh= cd ..; basename `pwd`
OBJS= $(PROG).o translate.o
@@ -42,6 +44,9 @@ CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
+LINTFLAGS += -erroff=E_STATIC_UNUSED
+LINTFLAGS64 += -erroff=E_STATIC_UNUSED
+
.KEEP_STATE:
all: $(PROG)