Print this page
10079 smatch Makefile changes for usr/src/lib
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
LIBRARY= libss.a
VERS= .1
SSOBJS= \
*** 67,76 ****
--- 68,79 ----
CFLAGS += $(CCVERBOSE) -I..
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-variable
+ SMOFF += all_func_returns
+
DYNFLAGS += $(KRUNPATH) $(KMECHLIB) $(ZIGNORE)
LDLIBS += -lc -ltecla
$(PICS) := CFLAGS += $(XFFLAG)