10080 smatch Makefile changes for usr/src/cmd
@@ -18,10 +18,11 @@ # # CDDL HEADER END # # # Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2018, Joyent, Inc. # PROG= tar DEFAULTFILES= tar.dfl OBJS1= tar.o
@@ -37,10 +38,13 @@ LDLIBS += -lsec -lcmdutils -lnvpair -ltsol CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-uninitialized +# not linted +SMATCH=off + CPPFLAGS += -DEUC ROOTSYMLINK= $(ROOTPROG) XGETFLAGS += -a -x tar.xcl