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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=                   xargs
 # /usr/xpg6/bin/xargs is a symlink to /usr/bin/xargs
 ROOTXPG6SYMLINK=        $(ROOTXPG6BIN)/xargs
 

@@ -36,10 +37,13 @@
 CPPFLAGS += -I $(SRC)/common/util
 LINTFLAGS += -u
 
 CERRWARN += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG)
 
 install: all $(ROOTPROG) $(ROOTXPG6SYMLINK)