10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@ # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. include ../Makefile.sp ROOTLIBLPBIN = $(ROOTLIBLP)/bin
@@ -32,12 +33,10 @@ OBJECTS = $(PROG).o ROOTPROG= $(PROG:%=$(ROOTLIBLPBIN)/%) $(ROOTPROG) := FILEMODE=555 -CERRWARN += -_gcc=-Wno-implicit-function-declaration - .KEEP_STATE: all: $(PROG) $(ROOTLIBLPBIN):