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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/passwdutil/Makefile.com
          +++ new/usr/src/lib/passwdutil/Makefile.com
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51  
  52   52  LIBS=           $(DYNLIB) $(LINTLIB)
  53   53  $(LINTLIB) :=   SRCS= $(SRCDIR)/$(LINTSRC)
  54   54  LDLIBS          += -lsldap -lnsl -lc
  55   55  
  56   56  CPPFLAGS        += -DENABLE_SUNOS_AGING -D_REENTRANT \
  57   57                     -I$(SRC)/lib/libsldap/common -I$(SRC)/lib/libnsl/include
  58   58  CFLAGS          += $(CCVERBOSE)
  59   59  
  60   60  CERRWARN        += -_gcc=-Wno-switch
  61      -CERRWARN        += -_gcc=-Wno-uninitialized
       61 +CERRWARN        += $(CNOWARN_UNINIT)
  62   62  CERRWARN        += -_gcc=-Wno-unused-label
  63   63  
  64   64  # not linted
  65   65  SMATCH=off
  66   66  
  67   67  lint    :=      SRCS= $(OBJ:%.o=$(SRCDIR)/%.c)
  68   68  
  69   69  .KEEP_STATE:
  70   70  
  71   71  all:    $(LIBS)
  72   72  
  73   73  lint:   lintcheck
  74   74  
  75   75  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX