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

@@ -21,10 +21,11 @@
 #
 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
 # Copyright (c) 2013 by Delphix. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY = libproc.a
 VERS = .1
 
 CMNOBJS =       \

@@ -97,10 +98,13 @@
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-unused-label
 
+# not linted
+SMATCH=off
+
 # All interfaces are interposable, therefore don't allow direct binding to
 # libproc.  Disable libproc from directly binding to itself, but allow libperl
 # to directly bind to its dependencies (ie. map -Bdirect -> -zdirect).  Ensure
 # lazy loading is established (which is enabled automatically with -Bdirect).
 BDIRECT =