Print this page
12312 fix unused lib dependencies
*** 23,32 ****
--- 23,34 ----
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
#
+ # Copyright 2020 Joyent, Inc.
+ #
LIBRARY= libcrle.a
VERS= .1
COMOBJS= audit.o dump.o util.o
*** 38,47 ****
--- 40,51 ----
include $(SRC)/lib/Makefile.lib
include $(SRC)/cmd/sgs/Makefile.com
SRCDIR = ../common
+ ZGUIDANCE = -zguidance=nounused
+
LDLIBS += $(ZRECORD) -lmapmalloc $(DLLIB) -lc
CPPFLAGS += -I$(SRC)/lib/libc/inc -I$(SRC)/common/sgsrtcid
DYNFLAGS += $(VERSREF) $(CONVLIBDIR) -lconv