Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -20,10 +20,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1989 by Sun Microsystems, Inc.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 FSTYPE=         nfs
 LIBPROG=        showmount
 ATTMK=          $(LIBPROG)
 

@@ -45,10 +46,13 @@
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 $(LIBPROG):     $(OBJS)
                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
                 $(POST_PROCESS)
 
 lint:   lint_SRCS