Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -21,13 +21,12 @@
 #
 # Copyright 2012 Nexenta Systems, Inc.  All rights reserved.
 # Copyright (c) 2016 by Delphix. All rights reserved.
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+# Copyright (c) 2018, Joyent, Inc.
 #
-# cmd/truss/Makefile.com
-#
 
 PROG=   truss
 
 OBJS=   main.o listopts.o ipc.o actions.o expound.o codes.o print.o \
         ramdata.o systable.o procset.o stat.o fcall.o htbl.o

@@ -40,10 +39,13 @@
 CFLAGS64        += $(CCVERBOSE)
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-switch
 
+# not linted
+SMATCH=off
+
 CSTD=   $(CSTD_GNU99)
 
 LDLIBS  += -lproc -lrtld_db -lc_db -lnsl -lsocket -ltsol -lnvpair
 CPPFLAGS += -D_REENTRANT -D_LARGEFILE64_SOURCE=1
 CPPFLAGS += -I$(SRC)/uts/common/fs/zfs