Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
+ # Copyright (c) 2018, Joyent, Inc.
SHELL=/usr/bin/ksh93
PROG= ksh
*** 60,69 ****
--- 61,73 ----
# Workaround for CR#6628728 ("|memcntl()| prototype not available for C99/XPG6")
pmain.o := CERRWARN += -_gcc=-Wno-implicit-function-declaration
pmain.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
+ # not linted
+ SMATCH=off
+
.KEEP_STATE:
%.o: $(LIBSHELLSRC)/%.c
$(COMPILE.c) -c -o $@ $<
$(POST_PROCESS_O)