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/pkcs11/pkcs11_tpm/Makefile.com
          +++ new/usr/src/lib/pkcs11/pkcs11_tpm/Makefile.com
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  
  67   67  LIBS=$(DYNLIB) $(DYNLIB64)
  68   68  
  69   69  TSSROOT=$(ADJUNCT_PROTO)
  70   70  TSPILIBDIR=$(TSSROOT)/usr/lib
  71   71  TSPIINCDIR=$(TSSROOT)/usr/include
  72   72  TSSLIB=-L$(TSPILIBDIR)
  73   73  TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
  74   74  TSSINC=-I$(TSPIINCDIR)
  75   75  
  76      -LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lcrypto
       76 +LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi
       77 +
       78 +# libcrypto has no lint library, so we can only use it when
       79 +# building
       80 +$(LIBS) := LDLIBS += -lcrypto
       81 +
  77   82  CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
  78   83  CPPFLAGS64 += $(CPPFLAGS)
  79   84  C99MODE=        $(C99_ENABLE)
  80   85  
  81   86  CERRWARN +=     -_gcc=-Wno-parentheses
  82   87  CERRWARN +=     -_gcc=-Wno-unused-label
  83   88  CERRWARN +=     -_gcc=-Wno-uninitialized
  84   89  
  85   90  LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
  86   91  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX