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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/uname/Makefile
          +++ new/usr/src/cmd/uname/Makefile
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  #
  22   22  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
  24   24  
  25   25  PROG=           uname
  26   26  ROOTFS_PROG=    $(PROG)
  27   27  
  28   28  include ../Makefile.cmd
  29   29  
  30   30  CFLAGS += $(CCVERBOSE)
  31      -CERRWARN += -_gcc=-Wno-uninitialized
       31 +CERRWARN += $(CNOWARN_UNINIT)
  32   32  
  33   33  .KEEP_STATE:
  34   34  
  35   35  all: $(ROOTFS_PROG)
  36   36  
  37   37  install: all $(ROOTSBINPROG)
  38   38          -$(RM) $(ROOTPROG)
  39   39          -$(SYMLINK) ../../sbin/$(PROG) $(ROOTPROG)
  40   40  
  41   41  clean:
  42   42  
  43   43  lint:   lint_PROG
  44   44  
  45   45  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX