Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libima.a
 VERS=           .1
 OBJECTS=        ima-lib.o sunima-lib.o
 CONFIGFILE=     ima.conf

@@ -50,10 +50,13 @@
 CFLAGS64 +=       -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
 CFLAGS64 +=       -DSOLARIS
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 
+# not linted
+SMATCH=off
+
 LINTFLAGS += -DSOLARIS
 LINTFLAGS64 += -DSOLARIS
 
 SRCDIR =        ../common
 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)