Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0
Reviewed by Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by Alexander Eremin <alexander.eremin@nexenta.com>
*** 23,35 ****
#
include ../Makefile.com
PROG= p12split
! LDLIBS += -lwanboot -linetutil -lwanbootutil -lcrypto
CPPFLAGS += -I$(CMNCRYPTDIR)
all: $(PROG)
install: all $(ROOTCMD)
clean:
--- 23,40 ----
#
include ../Makefile.com
PROG= p12split
! LDLIBS += -lwanboot -linetutil -lwanbootutil
CPPFLAGS += -I$(CMNCRYPTDIR)
+ # libcrypto has no lint library, so we can only include this while building
+ $(PROG) := LDLIBS += -lcrypto
+
+ LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
+
all: $(PROG)
install: all $(ROOTCMD)
clean: