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

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 ↓ 29 lines elided ↑ open up ↑
  30   30  OBJECTS=        openssl_spi.o
  31   31  
  32   32  include $(SRC)/lib/Makefile.lib
  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      -OPENSSLLIBS=    $(BERLIB) -lcrypto -lcryptoutil -lc
  41      -OPENSSLLIBS64=  $(BERLIB64) -lcrypto -lcryptoutil -lc
       40 +OPENSSLLIBS=    $(BERLIB) -lsunw_crypto -lcryptoutil -lc
       41 +OPENSSLLIBS64=  $(BERLIB64) -lsunw_crypto -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   45  
  46   46  SRCDIR=         ../common
  47   47  INCDIR=         ../../include
  48   48  
  49   49  CFLAGS          +=      $(CCVERBOSE) 
  50   50  CPPFLAGS        +=      -D_REENTRANT $(KMFINC) \
  51   51                          -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2
  52   52  
  53   53  CERRWARN        +=      -_gcc=-Wno-unused-label
  54   54  CERRWARN        +=      -_gcc=-Wno-unused-value
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX