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

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/ctf/stabs/Makefile.com
          +++ new/usr/src/tools/ctf/stabs/Makefile.com
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37          utils.c
  38   38  
  39   39  include ../../Makefile.ctf
  40   40  
  41   41  LDLIBS += -lctf
  42   42  
  43   43  OBJS = $(SRCS:%.c=%.o)
  44   44  LINTFILES = $(SRCS:%.c=%.ln)
  45   45  
  46   46  LINTFLAGS = -mnux -L$(ROOT)/usr/lib
  47      -CERRWARN += -_gcc=-Wno-uninitialized
       47 +CERRWARN += $(CNOWARN_UNINIT)
  48   48  CERRWARN += -_gcc=-Wno-unused
  49   49  
  50   50  .NO_PARALLEL:
  51   51  .PARALLEL: $(OBJS) $(LINTFILES)
  52   52  
  53   53  all: $(PROG)
  54   54  
  55   55  $(PROG): $(OBJS)
  56   56          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  57   57          $(POST_PROCESS)
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX