Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= nfslogd
ATTMK= $(TYPEPROG)
DEFAULTFILES= nfslogd.dfl
@@ -40,10 +41,14 @@
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-type-limits
+
+# not linted
+SMATCH=off
+
CPPFLAGS += -D_FILE_OFFSET_BITS=64
#
# Message catalog
#