Print this page
10080 smatch Makefile changes for usr/src/cmd

*** 20,29 **** --- 20,30 ---- # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright (c) 2016, Chris Fraire <cfraire@me.com>. + # Copyright (c) 2018, Joyent, Inc. # PROG = dhcpagent ROOTFS_PROG = $(PROG) DEFAULTFILES = dhcpagent.dfl
*** 39,48 **** --- 40,52 ---- XGETFLAGS += -a -x dhcpagent.xcl CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-parentheses + # not linted + SMATCH=off + # # to compile a debug version, do a `make COPTFLAG="-g -XO0"' # CPPFLAGS += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__