Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= cpio
OBJS= cpio.o cpiostat.o utils.o
SRCS= $(OBJS:%.o=%.c)
*** 30,39 ****
--- 31,43 ----
include ../Makefile.cmd
CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DSOLARIS_PRIVS
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # not linted
+ SMATCH=off
+
LDLIBS += -lsec -lcmdutils -lnvpair
XGETFLAGS += -a -x cpio.xcl
.KEEP_STATE: