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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =               libpapi-common.a
 VERS =                  .0
 OBJECTS = attribute.o common.o library.o list.o misc.o status.o uri.o
 

@@ -41,10 +42,13 @@
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -I$(SRCDIR)
 
 CERRWARN +=     -_gcc=-Wno-switch
 
+# not linted
+SMATCH=off
+
 MAPFILES =      $(SRCDIR)/mapfile
 
 LDLIBS +=       -lc -lsocket -lnsl
 
 .KEEP_STATE: