Print this page
10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
LIBRARY= librsm.a
VERS= .2
TEXT_DOMAIN= SUNW_OST_OSLIB
@@ -49,10 +50,13 @@
CPPFLAGS = -I../inc -I../../common/inc $(CPPFLAGS.master) -D_REENTRANT $(DEBUG)
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
+# not linted
+SMATCH=off
+
LDLIBS += -lc
.KEEP_STATE:
all: $(LIBS)