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>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
          +++ new/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  
  37   37  BERLIB=         -lkmf -lkmfberder
  38   38  BERLIB64=       $(BERLIB)
  39   39  
  40   40  OPENSSLLIBS=    $(BERLIB) -lcrypto -lcryptoutil -lc
  41   41  OPENSSLLIBS64=  $(BERLIB64) -lcrypto -lcryptoutil -lc
  42   42  
  43   43  LINTSSLLIBS     = $(BERLIB) -lcrypto -lcryptoutil -lc
  44   44  LINTSSLLIBS64   = $(BERLIB64) -lcrypto -lcryptoutil -lc
  45   45  
       46 +# Because of varying openssl implementations, we need to not have lint
       47 +# complain if we're being liberal in our suppression directives.
       48 +LINTFLAGS       +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
       49 +LINTFLAGS64     +=      -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
       50 +
  46   51  SRCDIR=         ../common
  47   52  INCDIR=         ../../include
  48   53  
  49   54  CFLAGS          +=      $(CCVERBOSE) 
  50   55  CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \
  51   56                          -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2
  52   57  
  53   58  CERRWARN        +=      -_gcc=-Wno-unused-label
  54   59  CERRWARN        +=      -_gcc=-Wno-unused-value
  55   60  CERRWARN        +=      -_gcc=-Wno-uninitialized
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX