10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@ # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. include $(SRC)/cmd/Makefile.cmd .KEEP_STATE:
@@ -38,10 +39,13 @@ CMDS = $(SRCS:%=$(ROOTBIN)/%) CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-unused-variable +# not linted +SMATCH=off + $(CMDS) := FILEMODE = 0555 all: $(SRCS) install: $(CMDS)