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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mknod/Makefile
          +++ new/usr/src/cmd/mknod/Makefile
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  #
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27   27  PROG= mknod 
  28   28  
  29   29  include ../Makefile.cmd
  30   30  
  31   31  CFLAGS += $(CCVERBOSE)
  32      -CERRWARN += -_gcc=-Wno-uninitialized
       32 +CERRWARN += $(CNOWARN_UNINIT)
  33   33  
  34   34  .KEEP_STATE:
  35   35  
  36   36  all: $(PROG) 
  37   37  
  38   38  install: all $(ROOTUSRSBINPROG)
  39   39          -$(RM) $(ROOTETCPROG)
  40   40          $(SYMLINK) ../usr/sbin/$(PROG) $(ROOTETCPROG)
  41   41  
  42   42  clean:
  43   43  
  44   44  lint:   lint_PROG
  45   45  
  46   46  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX