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

@@ -1,7 +1,8 @@
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 #
 # BSD 3 Clause License
 #

@@ -49,10 +50,13 @@
 CPPFLAGS += $(LFLAGS64)
 
 CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DDEBUG
 CPPFLAGS += -I. -Iinclude
 
+# not linted
+SMATCH=off
+
 CSTD = $(CSTD_GNU99)
 
 # lint does not like unused _umem_*_init
 LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2