summaryrefslogtreecommitdiff
path: root/usr/src/cmd/expr
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-17 23:44:05 +0000
committerRobert Mustacchi <rm@joyent.com>2019-01-14 19:06:48 +0000
commit5661bb7641e85c46713da7a3002b29ecd2c3daf0 (patch)
treee0d0a4ec2e103c5c62feb664509414cd03f9f24e /usr/src/cmd/expr
parent05ede3db5e3b7d540afbccdc872c735770e82ef3 (diff)
downloadillumos-joyent-5661bb7641e85c46713da7a3002b29ecd2c3daf0.tar.gz
10080 smatch Makefile changes for usr/src/cmd
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/expr')
-rw-r--r--usr/src/cmd/expr/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/expr/Makefile b/usr/src/cmd/expr/Makefile
index dbc390fce5..08117a45a3 100644
--- a/usr/src/cmd/expr/Makefile
+++ b/usr/src/cmd/expr/Makefile
@@ -21,6 +21,7 @@
#
# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= expr
XPG4PROG= expr
@@ -38,6 +39,8 @@ 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