Print this page
5878 Additional lint fixes for sunstudio12.1 and more modern OpenSSL
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Reviewed by: Alexander Pyhalov <alp@rsu.ru>

@@ -41,10 +41,15 @@
 OPENSSLLIBS64=  $(BERLIB64) -lcrypto -lcryptoutil -lc
 
 LINTSSLLIBS     = $(BERLIB) -lcrypto -lcryptoutil -lc
 LINTSSLLIBS64   = $(BERLIB64) -lcrypto -lcryptoutil -lc
 
+# Because of varying openssl implementations, we need to not have lint
+# complain if we're being liberal in our suppression directives.
+LINTFLAGS       +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+LINTFLAGS64     +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+
 SRCDIR=         ../common
 INCDIR=         ../../include
 
 CFLAGS          +=      $(CCVERBOSE) 
 CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \