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

@@ -21,10 +21,11 @@
 #
 # Copyright 2015 Gary Mills
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY= libresolv.a
 VERS= .1
 
 PICS=   pics/res_comp.o pics/res_debug.o pics/res_init.o \

@@ -58,10 +59,13 @@
 CFLAGS += $(CCVERBOSE)
 
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 ROOTDYNLIBS=    $(DYNLIB:%=$(ROOTLIBDIR)/%)
 
 .KEEP_STATE:
 
 LIBS = $(DYNLIB)