Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0 (initial commit, openssl 1.0.1h)
*** 23,35 ****
#
include ../Makefile.com
PROG = wanboot-cgi
! LDLIBS += -lgen -lnsl -lwanbootutil -lnvpair -lwanboot -lcrypto
CPPFLAGS += -I$(CMNCRYPTDIR)
all: $(PROG)
install: all $(ROOTCMD)
clean:
--- 23,40 ----
#
include ../Makefile.com
PROG = wanboot-cgi
! LDLIBS += -lgen -lnsl -lwanbootutil -lnvpair -lwanboot
CPPFLAGS += -I$(CMNCRYPTDIR)
+ # libsunw_crypto has no lint library, so we can only include this while building
+ $(PROG) := LDLIBS += -lsunw_crypto
+
+ LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
+
all: $(PROG)
install: all $(ROOTCMD)
clean: