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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 PROG=           elfdump
 
 include         $(SRC)/cmd/Makefile.cmd

@@ -58,10 +59,13 @@
 LINTFLAGS +=    -x
 LINTFLAGS64 +=  -x
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 BLTDEFS =       msg.h
 BLTDATA =       msg.c
 BLTMESG =       $(SGSMSGDIR)/elfdump
 
 BLTFILES =      $(BLTDEFS) $(BLTDATA) $(BLTMESG)