Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libadm.a
 VERS=           .1
 
 OBJECTS= \

@@ -45,10 +46,13 @@
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-char-subscripts
 
+# not linted
+SMATCH=off
+
 $(LINTLIB) :=   SRCS=$(SRCDIR)/$(LINTSRC)
 LDLIBS +=       -lc
 
 .KEEP_STATE: