summaryrefslogtreecommitdiff
path: root/usr/src/cmd/truss/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/truss/Makefile.com')
-rw-r--r--usr/src/cmd/truss/Makefile.com6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/cmd/truss/Makefile.com b/usr/src/cmd/truss/Makefile.com
index b500283399..0ed14909e4 100644
--- a/usr/src/cmd/truss/Makefile.com
+++ b/usr/src/cmd/truss/Makefile.com
@@ -20,6 +20,7 @@
#
#
# Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2016 by Delphix. All rights reserved.
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -47,6 +48,11 @@ LDLIBS += -lproc -lrtld_db -lc_db -lnsl -lsocket -ltsol -lnvpair
CPPFLAGS += -D_REENTRANT -D_LARGEFILE64_SOURCE=1
CPPFLAGS += -I$(SRC)/uts/common/fs/zfs
+LINTFLAGS += -erroff=E_STATIC_UNUSED
+LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
+LINTFLAGS64 += -erroff=E_STATIC_UNUSED
+LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
+
.KEEP_STATE:
%.o: ../%.c