10079 smatch Makefile changes for usr/src/lib
*** 20,29 **** --- 20,30 ---- # # # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. # + # Copyright (c) 2018, Joyent, Inc. LIBRARY = libsmp.a VERS = .1 OBJECTS = \
*** 42,51 **** --- 43,54 ---- CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-uninitialized + SMOFF += all_func_returns + LDLIBS += \ -lumem \ -lc LIBS = $(DYNLIB) $(LINTLIB) ROOTLIBDIR = $(ROOTSCSILIBDIR)