Print this page
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 = libipp-core.a
VERS = .0
OBJECTS = ipp.o ipp_types.o read.o strings.o write.o
@@ -44,10 +45,12 @@
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-switch
+SMOFF += all_func_returns
+
MAPFILES = $(SRCDIR)/mapfile
LDLIBS += -lpapi-common -lc
.KEEP_STATE: