Print this page
12312 fix unused lib dependencies

*** 19,28 **** --- 19,29 ---- # CDDL HEADER END # # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2016 by Delphix. All rights reserved. + # Copyright 2020 Joyent, Inc. # LIBRARY = s10_brand.a VERS = .1 COBJS = s10_brand.o s10_deleted.o s10_signal.o
*** 80,90 **** # Needed to handle zfs include files CSTD= $(CSTD_GNU99) C99LMODE= -Xc99=%all DYNFLAGS += $(DYNFLAGS_$(CLASS)) DYNFLAGS += $(BLOCAL) $(ZNOVERSION) -Wl,-e_start ! LDLIBS += -lc -lmapmalloc LINTFLAGS += -erroff=E_STATIC_UNUSED LINTFLAGS64 += -erroff=E_STATIC_UNUSED CERRWARN += $(CNOWARN_UNINIT) --- 81,91 ---- # Needed to handle zfs include files CSTD= $(CSTD_GNU99) C99LMODE= -Xc99=%all DYNFLAGS += $(DYNFLAGS_$(CLASS)) DYNFLAGS += $(BLOCAL) $(ZNOVERSION) -Wl,-e_start ! LDLIBS += -lmapmalloc -lc LINTFLAGS += -erroff=E_STATIC_UNUSED LINTFLAGS64 += -erroff=E_STATIC_UNUSED CERRWARN += $(CNOWARN_UNINIT)
*** 92,99 **** .KEEP_STATE: all: $(LIBS) - lint: lintcheck - include $(SRC)/lib/Makefile.targ --- 93,98 ----