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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libadutils/Makefile.com
          +++ new/usr/src/lib/libadutils/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  LIBS =          $(DYNLIB) $(LINTLIB)
  40   40  LDLIBS +=       -lldap -lresolv -lsocket -lnsl -lc
  41   41  SRCDIR =        ../common
  42   42  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  43   43  
  44   44  CFLAGS +=       $(CCVERBOSE)
  45   45  CPPFLAGS +=     -D_REENTRANT -I$(SRCDIR)
  46   46  CPPFLAGS +=     -I$(SRC)/lib/libldap5/include/ldap
  47   47  
  48   48  CERRWARN +=     -_gcc=-Wno-type-limits
  49      -CERRWARN +=     -_gcc=-Wno-uninitialized
       49 +CERRWARN +=     $(CNOWARN_UNINIT)
  50   50  
  51   51  # not linted
  52   52  SMATCH=off
  53   53  
  54   54  .KEEP_STATE:
  55   55  
  56   56  all: $(LIBS)
  57   57  
  58   58  lint: lintcheck
  59   59  
  60   60  LINTFLAGS += -erroff=E_CONSTANT_CONDITION
  61   61  LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
  62   62  
  63   63  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX