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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dc/Makefile
          +++ new/usr/src/cmd/dc/Makefile
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  XD= exobjs.xpg6
  30   30  EXOBJS= dc.o
  31   31  XPG6EXOBJS= exobjs.xpg6/dc.o 
  32   32  
  33   33  include ../Makefile.cmd
  34   34  
  35   35  LDFLAGS += $(MAPFILE.NGB:%=-M%)
  36   36  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  37   37  CERRWARN += -_gcc=-Wno-unused-value
  38   38  CERRWARN += -_gcc=-Wno-parentheses
  39      -CERRWARN += -_gcc=-Wno-uninitialized
       39 +CERRWARN += $(CNOWARN_UNINIT)
  40   40  
  41   41  # not linted
  42   42  SMATCH=off
  43   43  
  44   44  .KEEP_STATE:
  45   45  
  46   46  all: $(MAPFILE.NGB) $(PROG) $(XPG6)
  47   47  
  48   48  $(PROG): $(EXOBJS)
  49   49          $(LINK.c) -o $@ $(EXOBJS) $(LDLIBS)
↓ open down ↓ 27 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX