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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/librpcsvc/Makefile.com
          +++ new/usr/src/lib/librpcsvc/Makefile.com
↓ open down ↓ 43 lines elided ↑ open up ↑
  44   44  pics/%.o: ../common/%.c
  45   45          $(COMPILE.c) -o $@ $<
  46   46          $(POST_PROCESS_O)
  47   47  
  48   48  LIBS = $(DYNLIB) $(LINTLIB)
  49   49  
  50   50  CPPFLAGS += -DYP
  51   51  
  52   52  CERRWARN +=     -_gcc=-Wno-unused-variable
  53   53  CERRWARN +=     -_gcc=-Wno-switch
  54      -CERRWARN +=     -_gcc=-Wno-uninitialized
       54 +CERRWARN +=     $(CNOWARN_UNINIT)
  55   55  CERRWARN +=     -_gcc=-Wno-parentheses
  56   56  
  57   57  $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
  58   58  
  59   59  LDLIBS += -lnsl -lc
  60   60  
  61   61  # Needed so header files with relative paths will work
  62   62  CPPFLAGS += -I..
  63   63  
  64   64  .KEEP_STATE:
  65   65  
  66   66  lint:   lintcheck
  67   67  
  68   68  # include library targets
  69   69  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX