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

@@ -21,10 +21,11 @@
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libnwam.a
 VERS=           .1
 OBJECTS=        libnwam_audit.o \
                 libnwam_backend.o \

@@ -54,10 +55,13 @@
 CPPFLAGS +=     -I$(SRCDIR) -D_REENTRANT
 
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all:    $(LIBS)
 
 lint:   lintcheck