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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Create default so empty rules don't
 #       confuse make
 #

@@ -39,10 +40,13 @@
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 
+# not linted
+SMATCH=off
+
 LINT_OBJS = $(OBJS:%.o=%.ln)
 SOURCES = $(OBJS:%.o=%.c)
 
 .PARALLEL: $(OBJS)