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

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

@@ -55,10 +56,13 @@
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-clobbered
 CERRWARN +=     -_gcc=-Wno-address
 
+# not linted
+SMATCH=off
+
 LIBS = $(DYNLIB) $(LINTLIB)
 
 DYNFLAGS += $(ZLAZYLOAD)
 
 LDLIBS +=       -lc -lcontract -lzonecfg