Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -21,10 +21,12 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2018 Jason King
 #
+# Copyright (c) 2018, Joyent, Inc.
+
 LIBRARY =       pkcs11_tpm.a
 VERS =          .1
 
 RSA_DIR =               $(SRC)/common/crypto/rsa
 RSA_FLAGS =             -I$(RSA_DIR)

@@ -93,10 +95,13 @@
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
 
 $(LINTLIB):=    SRCS    =       $(SRCDIR)/$(LINTSRC)
 LINTSRC= $(SRCS)