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

@@ -20,12 +20,11 @@
 #
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# cmd/sgs/prof/Makefile.com
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           prof
 
 include         $(SRC)/cmd/Makefile.cmd
 include         $(SRC)/cmd/sgs/Makefile.com

@@ -41,10 +40,14 @@
 
 CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master) -I$(ELFCAP)
 CFLAGS +=       $(CCVERBOSE)
 CSTD=   $(CSTD_GNU99)
 CERRWARN +=     -_gcc=-Wno-uninitialized
+
+# not linted
+SMATCH=off
+
 LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) $(ELFLIBDIR) -lelf
 LINTSRCS =      $(SRCS)
 LINTFLAGS +=    -x
 CLEANFILES +=   $(LINTOUTS)