Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0 (fix openssl 0.9.8 lint)

@@ -41,10 +41,14 @@
 OPENSSLLIBS64=  $(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) 
 CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \