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

*** 20,29 **** --- 20,30 ---- # # # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com> # Copyright (c) 2011, 2017 by Delphix. All rights reserved. + # Copyright (c) 2018, Joyent, Inc. # LIBRARY= libzfs.a VERS= .1
*** 73,82 **** --- 74,86 ---- LDLIBS += -lc -lm -ldevid -lgen -lnvpair -luutil -lavl -lefi \ -ladm -lidmap -ltsol -lmd -lumem -lzfs_core -lcmdutils CPPFLAGS += $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG + # not linted + SMATCH=off + # There's no lint library for zlib, so only include this when building $(DYNLIB) := LDLIBS += -lz LINTFLAGS += -erroff=E_STATIC_UNUSED LINTFLAGS64 += -erroff=E_STATIC_UNUSED