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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 # The build process for libsaveargs is sightly different from that used by other
 # libraries, because libsaveargs must be built in two flavors - as a standalone
 # for use by kmdb and as a normal library.  We use $(CURTYPE) to indicate the

@@ -92,8 +93,11 @@
 CFLAGS += $(CFLAGS_$(CURTYPE)) $(CFLAGS_common)
 
 CFLAGS64_standalone = $(STAND_FLAGS_64)
 CFLAGS64 += $(CCVERBOSE) $(CFLAGS64_$(CURTYPE)) $(CFLAGS64_common)
 
+# not linted
+SMATCH=off
+
 DYNFLAGS +=     $(ZINTERPOSE)
 
 .KEEP_STATE: