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>

@@ -38,12 +38,16 @@
 BERLIB64=       $(BERLIB)
 
 OPENSSLLIBS=    $(BERLIB) -lcrypto -lcryptoutil -lc
 OPENSSLLIBS64=  $(BERLIB64) -lcrypto -lcryptoutil -lc
 
-LINTSSLLIBS     = $(BERLIB) -lcrypto -lcryptoutil -lc
-LINTSSLLIBS64   = $(BERLIB64) -lcrypto -lcryptoutil -lc
+LINTSSLLIBS     = $(BERLIB) -lcryptoutil -lc
+LINTSSLLIBS64   = $(BERLIB64) -lcryptoutil -lc
+
+# OpenSSL 1.0 and 0.9.8 produce different lint warnings
+LINTFLAGS   +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+LINTFLAGS64 +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
 
 SRCDIR=         ../common
 INCDIR=         ../../include
 
 CFLAGS          +=      $(CCVERBOSE)