summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ed
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/ed
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/ed')
-rw-r--r--usr/src/cmd/ed/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/cmd/ed/Makefile b/usr/src/cmd/ed/Makefile
index b6737d8978..0c9339377e 100644
--- a/usr/src/cmd/ed/Makefile
+++ b/usr/src/cmd/ed/Makefile
@@ -22,6 +22,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= ed
XPG4PROG= ed
@@ -42,6 +43,10 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-uninitialized
+
+# not linted
+SMATCH=off
+
$(XPG4) := CFLAGS += -DXPG4
$(XPG6) := CFLAGS += -DXPG6 -I$(SRC)/lib/libc/inc
lint := LDLIBS += -lgen -lcrypt