Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
+ # Copyright (c) 2018, Joyent, Inc.
#
#
# cmd/fs.d/smbclnt/smbiod/Makefile
#
*** 37,53 ****
POFILE= $(TYPEPROG).po
CFLAGS += $(CCVERBOSE)
CSTD= $(CSTD_GNU99)
- # This is a multi-thread program but Nevada
- # no longer needs -lthread
LDLIBS += -lsmbfs -lumem
CPPFLAGS += -I$(SRC)/lib/libsmbfs \
-I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
# Debugging
${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
# uncomment these for dbx debugging
#COPTFLAG = -g
--- 38,55 ----
POFILE= $(TYPEPROG).po
CFLAGS += $(CCVERBOSE)
CSTD= $(CSTD_GNU99)
LDLIBS += -lsmbfs -lumem
CPPFLAGS += -I$(SRC)/lib/libsmbfs \
-I$(SRC)/uts/common/smbclnt -I$(SRC)/uts/common
+ # not linted
+ SMATCH=off
+
# Debugging
${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
# uncomment these for dbx debugging
#COPTFLAG = -g