Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG = ftp
DEFAULTFILES = ftp.dfl
OBJS = cmds.o cmdtab.o ftp.o getpass.o glob.o main.o pclose.o \
*** 42,51 ****
--- 43,55 ----
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-clobbered
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-address
+ # not linted
+ SMATCH=off
+
LDLIBS += -lsocket -lnsl -lgss
# ftp defines its own delete and glob - localize all symbols to prevent a
# name clash.
LDFLAGS += $(MAPFILE.NGB:%=-M%)