Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pkcs11/libpkcs11/Makefile.com
          +++ new/usr/src/lib/pkcs11/libpkcs11/Makefile.com
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  LIBS =          $(DYNLIB) $(LINTLIB)
  71   71  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  72   72  LDLIBS +=       -lcryptoutil -lc
  73   73  
  74   74  CFLAGS  +=      $(CCVERBOSE)
  75   75  CPPFLAGS +=     -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
  76   76  
  77   77  LINTFLAGS64 += -errchk=longptr64
  78   78  
  79   79  CERRWARN +=     -_gcc=-Wno-unused-label
  80      -CERRWARN +=     -_gcc=-Wno-uninitialized
       80 +CERRWARN +=     $(CNOWARN_UNINIT)
  81   81  
  82   82  # not linted
  83   83  SMATCH=off
  84   84  
  85   85  .KEEP_STATE:
  86   86  
  87   87  all:    $(LIBS)
  88   88  
  89   89  lint: lintcheck
  90   90  
  91   91  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX