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

@@ -20,10 +20,11 @@
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright 2016 Toomas Soome <tsoome@me.com>
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libdns_sd.a
 VERS =          .1
 OBJECTS =       dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
 

@@ -40,11 +41,14 @@
 CPPFLAGS +=     -I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
 CPPFLAGS +=     -DMDNS_VERSIONSTR_NODTS
 
 pics/dnssd_clientstub.o := CERRWARN +=  -_gcc=-Wno-unused-but-set-variable
 
-.PARALLEL =     $(OBJECTS)
+# not linted
+SMATCH=off
+
+PARALLEL =     $(OBJECTS)
 .KEEP_STATE:
 
 lint: lintcheck
 
 all: $(LIBS)