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

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

@@ -43,10 +44,14 @@
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-switch
 CERRWARN += -_gcc=-Wno-unused-variable
 CERRWARN += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
+
 $(TYPEPROG):    $(OBJS)
                 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
                 $(POST_PROCESS)
 
 lockd.o:        lockd.c