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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 TESTPROG = kwarndtest 
 
 PROG= ktkt_warnd
 MANIFEST=       ktkt_warn.xml

@@ -54,10 +55,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-unused-function
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 CPPFLAGS += -I../../lib/gss_mechs/mech_krb5/include \
                  -I$(SRC)/lib/gss_mechs/mech_krb5 \
                  -I$(SRC)/lib/gss_mechs/mech_krb5/include \
                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include