summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshell/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libshell/Makefile.com')
-rw-r--r--usr/src/lib/libshell/Makefile.com4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/lib/libshell/Makefile.com b/usr/src/lib/libshell/Makefile.com
index 8dd5057867..b904c0fe5f 100644
--- a/usr/src/lib/libshell/Makefile.com
+++ b/usr/src/lib/libshell/Makefile.com
@@ -21,6 +21,7 @@
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2019, Joyent, Inc.
#
SHELL=/usr/bin/ksh93
@@ -161,6 +162,9 @@ CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += -_gcc=-Wno-char-subscripts
+# smatch gets out of memory on common/sh/macro.c
+SMATCH = off
+
pics/sh/macro.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
pics/sh/nvdisc.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED