10080 smatch Makefile changes for usr/src/cmd
@@ -21,11 +21,11 @@ # # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# cmd/fmt/Makefile +# Copyright (c) 2018, Joyent, Inc. PROG= fmt OBJS= fmt.o HEAD= ../mailx/head.o
@@ -35,10 +35,13 @@ LDLIBS += -lcmdutils CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses +# not linted +SMATCH=off + .KEEP_STATE: all: $(PROG) $(PROG): $(OBJS) $(HEAD)