Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,29 ****
--- 20,30 ----
# CDDL HEADER END
#
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
+ # Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= rquotad
ATTMK= $(TYPEPROG)
*** 36,45 ****
--- 37,49 ----
CPPFLAGS += -D_LARGEFILE64_SOURCE
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
LDLIBS += -lnsl
+ # unknown type for func
+ SMATCH=off
+
$(TYPEPROG): $(OBJS)
$(LINK.c) -o $@ $(LDLIBS) $(OBJS)
$(POST_PROCESS)
lint: lint_SRCS