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

@@ -21,10 +21,11 @@
 #
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 # Debugging targets
 #   sort provides a number of debugging options to simplify failure analysis.
 #

@@ -86,10 +87,13 @@
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+# not linted
+SMATCH=off
+
 $(XPG4) :=      CFLAGS += -DXPG4
 
 debug :=        SORT_DEBUG = -g -DDEBUG $(ILDOFF)
 debug :=        COPTFLAG =
 debug :=        COPTFLAG64 =