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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libpkg/Makefile.com
          +++ new/usr/src/lib/libpkg/Makefile.com
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  
  51   51  POFILE =        libpkg.po
  52   52  MSGFILES =      $(OBJECTS:%.o=../common/%.i)
  53   53  CLEANFILES +=   $(MSGFILES)
  54   54  
  55   55  # This library is NOT lint clean
  56   56  
  57   57  # openssl forces us to ignore dubious pointer casts, thanks to its clever
  58   58  # use of macros for stack management.
  59   59  LINTFLAGS=      -umx -errtags \
  60      -                -erroff=E_BAD_PTR_CAST_ALIGN,E_BAD_PTR_CAST
       60 +                -erroff=E_BAD_PTR_CAST_ALIGN,E_BAD_PTR_CAST,E_SUPPRESSION_DIRECTIVE_UNUSED
  61   61  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  62   62  
  63   63  
  64   64  LIBS = $(DYNLIB) $(LINTLIB)
  65   65  
  66   66  
  67   67  LDLIBS +=       -lc -lwanboot -lscf -ladm
  68   68  
  69   69  # libcrypto and libssl have no lint library, and so can only be used when
  70   70  # building
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX