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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 include $(SRC)/lib/Makefile.lib
 
 LIBRARY =       $(BRAND)_librtld_db.a
 VERS    =       .1

@@ -50,10 +51,13 @@
 CPPFLAGS +=     -D_REENTRANT \
                         -I$(SRC)/cmd/sgs/librtld_db/common \
                         -I$(SRC)/cmd/sgs/include \
                         -I$(SRC)/cmd/sgs/include/$(MACH)
 
+# not linted
+SMATCH=off
+
 ROOTLIBDIR =    $(ROOT)/usr/lib/brand/$(BRAND)
 ROOTLIBDIR64 =  $(ROOT)/usr/lib/brand/$(BRAND)/$(MACH64)
 
 #
 # The top level Makefiles define define TEXT_DOMAIN.  But librtld_db.so.1