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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/du/Makefile
          +++ new/usr/src/cmd/du/Makefile
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27   27  PROG=du
  28   28  XPG4PROG= du
  29   29  
  30   30  include ../Makefile.cmd
  31   31  
  32   32  CFLAGS += $(CCVERBOSE)
  33   33  CERRWARN += -_gcc=-Wno-parentheses
  34      -CERRWARN += -_gcc=-Wno-uninitialized
       34 +CERRWARN += $(CNOWARN_UNINIT)
  35   35  $(XPG4) := CFLAGS += -DXPG4
  36   36  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  37   37  POFILE = du_cmd.po
  38   38  POFILES = du.po
  39   39  POFILES_XPG4 = du.po.xpg4
  40   40  $(POFILES_XPG4) := CFLAGS += -DXPG4
  41   41  CLOBBERFILES += $(POFILES_XPG4)
  42   42  LDLIBS += -lcmdutils
  43   43  
  44   44  .KEEP_STATE:
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX