Print this page
10076 make usr/src/test smatch clean

*** 9,18 **** --- 9,19 ---- # http://www.illumos.org/license/CDDL. # # # Copyright 2015 Nexenta Systems, Inc. All rights reserved. + # Copyright (c) 2018, Joyent, Inc. # include $(SRC)/test/Makefile.com OBJS= $(PROG:%=%.o)
*** 25,34 **** --- 26,38 ---- LINTFLAGS += -erroff=E_BAD_FORMAT_STR2 LINTFLAGS += -erroff=E_NAME_DECL_NOT_USED_DEF2 LINTFLAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2 + # needs work + SMOFF += all_func_returns,leaks + all: $(PROG) $(PROG): $(OBJS) $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(POST_PROCESS)