Print this page
10079 smatch Makefile changes for usr/src/lib

*** 20,29 **** --- 20,30 ---- # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. LIBRARY= libdb2.a VERS= .1 # btree
*** 100,109 **** --- 101,114 ---- -I$(SRC)/lib/krb5/plugins/kdb/db2/libdb2/include \ -I$(SRC)/lib/gss_mechs/mech_krb5/include #for db-ndbm.h CFLAGS += $(CCVERBOSE) -I.. CERRWARN += -_gcc=-Wno-uninitialized + + # not linted + SMATCH=off + LDLIBS += -lc # Identify that this library is an interposer (on dbm_ routines from libc.so.1). # This identification insures runtime symbol lookup resolves to this library # (before libc.so.1) regardless of dependency link order.