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

@@ -21,10 +21,11 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # cmd/backup/Makefile.backup
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 include $(SRC)/cmd/Makefile.cmd
 
 # xxx should pass -Nlevel=4 (takes 62 minutes of cpu for lib and dump)
 LINTFLAGS=      -errchk=%all,longptr64 -errhdr=%user -F -m \

@@ -42,10 +43,13 @@
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-clobbered
 
+# not linted
+SMATCH=off
+
 UFSROOTETC=             $(ROOT)/etc
 UFSROOTUSR=             $(ROOT)/usr
 UFSROOTUSRLIB=          $(UFSROOTUSR)/lib
 UFSROOTUSRLIBFS=        $(UFSROOTUSRLIB)/fs
 UFSROOTUSRLIBFSTYPE=    $(UFSROOTUSRLIBFS)/$(FSTYPE)