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

@@ -22,10 +22,11 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libadutils.a
 VERS =          .1
 OBJECTS =       adutils.o addisc.o adutils_threadfuncs.o \
                 ldap_ping.o srv_query.o

@@ -45,10 +46,13 @@
 CPPFLAGS +=     -I$(SRC)/lib/libldap5/include/ldap
 
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck