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/cmd/cmd-inet/usr.lib/wanboot/Makefile.com
          +++ new/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile.com
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27   27  include $(SRC)/cmd/Makefile.cmd
  28   28  ROOTCMDDIR = $(ROOT)/usr/lib/inet/wanboot
  29   29  
  30   30  CMNCRYPTDIR = ../../../../../common/net/wanboot/crypt
  31   31  
  32   32  CERRWARN += -_gcc=-Wno-uninitialized
  33   33  
       34 +# OpenSSLs API includes some macro expansions that are incompatible with lint,
       35 +# depending on the version of OpenSSL used
       36 +LINTFLAGS   +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
       37 +LINTFLAGS64 +=    -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
       38 +
  34   39  .KEEP_STATE:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX