Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 23,33 ****
# Use is subject to license terms.
#
# Copyright 2016 Toomas Soome <tsoome@me.com>
# Copyright 2016 Nexenta Systems, Inc.
# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
! #
PROG= bootadm
SBINLINKS= $(PROG)
--- 23,33 ----
# Use is subject to license terms.
#
# Copyright 2016 Toomas Soome <tsoome@me.com>
# Copyright 2016 Nexenta Systems, Inc.
# Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
! # Copyright (c) 2018, Joyent, Inc.
PROG= bootadm
SBINLINKS= $(PROG)
*** 50,59 ****
--- 50,61 ----
# behavior, which causes us to take SIGSEGV on such a write.
CFLAGS += $(XSTRCONST)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
CPPFLAGS += -I$(SRC)/uts/common -I$(SRC)/common -I$(SRC)/common/ficl
+ SMOFF += all_func_returns
+
CSTD= $(CSTD_GNU99)
LINTFLAGS += -erroff=E_INCONS_ARG_DECL2
LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2