Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,10 +21,11 @@
#
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= ufs
LIBPROG= fssnap
include ../../Makefile.fstype
@@ -41,10 +42,14 @@
CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
+
+# not linted
+SMATCH=off
+
LDLIBS += -lkstat -ldevinfo
# message catalog
POFILE= fssnap.po