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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 FSTYPE=         nfs
 TYPEPROG=       nfsd
 ATTMK=          $(TYPEPROG)
 

@@ -40,10 +40,13 @@
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-extra
 
+# not linted
+SMATCH=off
+
 $(TYPEPROG):    $(OBJS)
                 $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
                 $(POST_PROCESS)
 
 nfs_tbind.o:    ../lib/nfs_tbind.c