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= ed XPG4PROG= ed XPG6PROG= ed
*** 40,49 **** --- 41,54 ---- CFLAGS += $(CCVERBOSE) 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 LDLIBS += -lmapmalloc -lgen -lcrypt_i XGETFLAGS += -a -x ed.xcl