Print this page
10079 smatch Makefile changes for usr/src/lib
*** 18,27 ****
--- 18,28 ----
#
# CDDL HEADER END
#
#
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ # Copyright (c) 2018, Joyent, Inc.
#
LIBRARY = libdladm.a
VERS = .1
OBJECTS = libdladm.o secobj.o linkprop.o libdllink.o libdlaggr.o \
*** 46,55 ****
--- 47,59 ----
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
CPPFLAGS += -I$(SRCDIR) -D_REENTRANT
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
lint: lintcheck