Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= expr
XPG4PROG= expr
XPG6PROG= expr
*** 36,45 ****
--- 37,48 ----
include ../Makefile.cmd
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-extra
+ # "missing type for func"
+ SMATCH=off
$(XPG4) := CFLAGS += -DXPG4
$(XPG6) := CFLAGS += -DXPG6
XGETFLAGS += -a -x expr.xcl