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>

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 ↓ 32 lines elided ↑ open up ↑
  33   33  
  34   34  LIBLINKS=       $(DYNLIB:.so.1=.so)
  35   35  KMFINC=         -I../../../include -I../../../ber_der/inc
  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      -LINTSSLLIBS     = $(BERLIB) -lcrypto -lcryptoutil -lc
  44      -LINTSSLLIBS64   = $(BERLIB64) -lcrypto -lcryptoutil -lc
       43 +LINTSSLLIBS     = $(BERLIB) -lcryptoutil -lc
       44 +LINTSSLLIBS64   = $(BERLIB64) -lcryptoutil -lc
       45 +
       46 +# OpenSSL 1.0 and 0.9.8 produce different lint warnings
       47 +LINTFLAGS   +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
       48 +LINTFLAGS64 +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  45   49  
  46   50  SRCDIR=         ../common
  47   51  INCDIR=         ../../include
  48   52  
  49   53  CFLAGS          +=      $(CCVERBOSE) 
  50   54  CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \
  51   55                          -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2
  52   56  
  53   57  CERRWARN        +=      -_gcc=-Wno-unused-label
  54   58  CERRWARN        +=      -_gcc=-Wno-unused-value
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX