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


  40                 verify.o     security.o   pkgweb.o \
  41                 pkgerr.o     keystore.o   p12lib.o \
  42                 vfpops.o     fmkdir.o     pkgstr.o \
  43                 handlelocalfs.o pkgserv.o
  44 
  45 
  46 # include library definitions
  47 include $(SRC)/lib/Makefile.lib
  48 
  49 SRCDIR=         ../common
  50 
  51 POFILE =        libpkg.po
  52 MSGFILES =      $(OBJECTS:%.o=../common/%.i)
  53 CLEANFILES +=   $(MSGFILES)
  54 
  55 # This library is NOT lint clean
  56 
  57 # openssl forces us to ignore dubious pointer casts, thanks to its clever
  58 # use of macros for stack management.
  59 LINTFLAGS=      -umx -errtags \
  60                 -erroff=E_BAD_PTR_CAST_ALIGN,E_BAD_PTR_CAST
  61 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  62 
  63 
  64 LIBS = $(DYNLIB) $(LINTLIB)
  65 
  66 
  67 LDLIBS +=       -lc -lwanboot -lscf -ladm
  68 
  69 # libcrypto and libssl have no lint library, and so can only be used when
  70 # building
  71 $(DYNLIB) := LDLIBS += -lcrypto -lssl
  72 
  73 CFLAGS +=       $(CCVERBOSE)
  74 CERRWARN +=     -_gcc=-Wno-unused-label
  75 CERRWARN +=     -_gcc=-Wno-parentheses
  76 CERRWARN +=     -_gcc=-Wno-uninitialized
  77 CERRWARN +=     -_gcc=-Wno-clobbered
  78 CERRWARN +=     -_gcc=-Wno-switch
  79 CERRWARN +=     -_gcc=-Wno-unused-value
  80 CPPFLAGS +=     -I$(SRCDIR) -D_FILE_OFFSET_BITS=64


  40                 verify.o     security.o   pkgweb.o \
  41                 pkgerr.o     keystore.o   p12lib.o \
  42                 vfpops.o     fmkdir.o     pkgstr.o \
  43                 handlelocalfs.o pkgserv.o
  44 
  45 
  46 # include library definitions
  47 include $(SRC)/lib/Makefile.lib
  48 
  49 SRCDIR=         ../common
  50 
  51 POFILE =        libpkg.po
  52 MSGFILES =      $(OBJECTS:%.o=../common/%.i)
  53 CLEANFILES +=   $(MSGFILES)
  54 
  55 # This library is NOT lint clean
  56 
  57 # openssl forces us to ignore dubious pointer casts, thanks to its clever
  58 # use of macros for stack management.
  59 LINTFLAGS=      -umx -errtags \
  60                 -erroff=E_BAD_PTR_CAST_ALIGN,E_BAD_PTR_CAST,E_SUPPRESSION_DIRECTIVE_UNUSED
  61 $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  62 
  63 
  64 LIBS = $(DYNLIB) $(LINTLIB)
  65 
  66 
  67 LDLIBS +=       -lc -lwanboot -lscf -ladm
  68 
  69 # libcrypto and libssl have no lint library, and so can only be used when
  70 # building
  71 $(DYNLIB) := LDLIBS += -lcrypto -lssl
  72 
  73 CFLAGS +=       $(CCVERBOSE)
  74 CERRWARN +=     -_gcc=-Wno-unused-label
  75 CERRWARN +=     -_gcc=-Wno-parentheses
  76 CERRWARN +=     -_gcc=-Wno-uninitialized
  77 CERRWARN +=     -_gcc=-Wno-clobbered
  78 CERRWARN +=     -_gcc=-Wno-switch
  79 CERRWARN +=     -_gcc=-Wno-unused-value
  80 CPPFLAGS +=     -I$(SRCDIR) -D_FILE_OFFSET_BITS=64