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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/tools/setdynflag/Makefile.com
          +++ new/usr/src/cmd/mdb/tools/setdynflag/Makefile.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  
  37   37  include ../../../../Makefile.cmd
  38   38  include ../../common/Makefile.util
  39   39  
  40   40  #
  41   41  # We're going to run this as part of the build, so we want it to use the
  42   42  # running kernel's includes and libraries.
  43   43  #
  44   44  CPPFLAGS = -I../../common
  45   45  CFLAGS += $(CCVERBOSE)
  46      -CERRWARN += -_gcc=-Wno-uninitialized
       46 +CERRWARN += $(CNOWARN_UNINIT)
  47   47  LDFLAGS =
  48   48  LDLIBS  = -lelf
  49   49  
  50   50  LINTFILES = $(SRCS:%.c=%.ln)
  51   51  
  52   52  install all: $(PROG)
  53   53  
  54   54  clobber clean:
  55   55          $(RM) $(OBJS) $(LINTFILES) $(PROG)
  56   56  
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX