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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        lib.a
 
 DATEFILE=       ugdates
 DATEFILESRC=    ugdates.dat

@@ -64,10 +65,13 @@
 GENERAL=        ../inc
 CPPFLAGS=       -I. -I$(GENERAL) $(CPPFLAGS.master)
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-unused-variable
+# not linted
+SMATCH=off
+
 ARFLAGS=        cr
 AROBJS=         `$(LORDER) $(OBJS) | $(TSORT)`
 LINTFLAGS=      -u
 
 ROOTUSRSADM=    $(ROOT)/usr/sadm