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/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 +# libsunw_crypto has no lint library, so we can only use it when
       79 +# building
       80 +$(LIBS) := LDLIBS += -lsunw_crypto
  77   81  CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC)
  78   82  CPPFLAGS64 += $(CPPFLAGS)
  79   83  C99MODE=        $(C99_ENABLE)
  80   84  
  81   85  CERRWARN +=     -_gcc=-Wno-parentheses
  82   86  CERRWARN +=     -_gcc=-Wno-unused-label
  83   87  CERRWARN +=     -_gcc=-Wno-uninitialized
  84   88  
  85   89  LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
  86   90  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX