10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@ # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY = libdtrace_jni.a VERS = .1 LIBSRCS = \
@@ -49,10 +50,12 @@ CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS) CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS64) CERRWARN += -_gcc=-Wno-uninitialized +SMOFF += all_func_returns + LDLIBS += -lc -luutil -ldtrace -lproc LINTLIB = LFLAGS = -t -v