Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -22,10 +22,11 @@
 # Copyright 2008 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.
 
 PROG=           rpcbind
 MANIFEST=       bind.xml
 SVCMETHOD=      rpc-bind
 

@@ -44,10 +45,13 @@
 CPPFLAGS= -I. -DPORTMAP $(CPPFLAGS.master)
 CPPFLAGS += -D_REENTRANT
 $(RELEASE_BUILD)CPPFLAGS += -DNDEBUG
 LDLIBS += -lsocket -lnsl -lwrap -lscf -lumem
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG) $(SVCMETHOD)
 
 $(PROG): $(OBJS)