10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@ # # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. PROG=flowstat ROOTFS_PROG= $(PROG)
@@ -36,10 +37,13 @@ LDLIBS += -ldladm -lofmt CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-uninitialized +# not linted +SMATCH=off + ROOTCFGDIR= $(ROOTETC)/dladm .KEEP_STATE: all: $(ROOTFS_PROG)