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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           sqlite
 
 include ../Makefile.cmd
 

@@ -38,10 +39,13 @@
 $(OBJS) :=      CFLAGS += $(CTF_FLAGS)
 $(OBJS) :=      CTFCONVERT_POST = $(CTFCONVERT_O)
 
 CERRWARN +=     -_gcc=-Wno-empty-body
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lsqlite-sys
 
 .KEEP_STATE:
 
 $(ROOTSQLITE)   := FILEMODE= 555