10080 smatch Makefile changes for usr/src/cmd
@@ -20,10 +20,11 @@ # CDDL HEADER END # # # Copyright (c) 1989 by Sun Microsystems, Inc. # +# Copyright (c) 2018, Joyent, Inc. FSTYPE= nfs LIBPROG= dfmounts ATTMK= $(LIBPROG)
@@ -41,10 +42,13 @@ LDLIBS += -lrpcsvc -lnsl CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-parentheses +# unknown type for func +SMATCH = off + $(LIBPROG): $(OBJS) $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(POST_PROCESS) #