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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY = libcpc.a
 VERS    = .1
 COBJS   = libcpc.o subr.o
 V1_OBJS = obsoleted.o

@@ -46,10 +47,13 @@
 CFLAGS +=       $(CCVERBOSE)
 
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck