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

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libsun_sas.a
 VERS =          .1
 
 OBJECTS =       devtree_hba_disco.o \

@@ -82,10 +82,13 @@
 CPPFLAGS +=     -DBUILD_TIME='"Wed Feb 4 12:00:00 2009"'
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-value
 
+# not linted
+SMATCH=off
+
 LDLIBS          += -ldevinfo
 LDLIBS          += -lsysevent
 LDLIBS          += -lnvpair
 LDLIBS          += -lc
 LDLIBS          += -lkstat