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

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