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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libscf.a
 VERS =          .1
 
 OBJECTS = \

@@ -60,10 +61,13 @@
 CERRWARN +=     -_gcc=-Wno-char-subscripts
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 #
 # For native builds, we compile and link against the native version
 # of libuutil.
 #
 LIBUUTIL =      $(SRC)/lib/libuutil