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