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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/streams/strcmd/Makefile
          +++ new/usr/src/cmd/streams/strcmd/Makefile
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
  24   24  
  25   25  PROG= strchg strconf
  26   26  
  27   27  include ../../Makefile.cmd
  28   28  
  29      -CERRWARN += -_gcc=-Wno-uninitialized
       29 +CERRWARN += $(CNOWARN_UNINIT)
  30   30  
  31   31  .KEEP_STATE:
  32   32  
  33   33  all: $(PROG)
  34   34  
  35   35  install: all $(ROOTPROG)
  36   36  
  37   37  clean:
  38   38  
  39   39  lint:
  40   40          $(LINT.c) strchg.c $(LDLIBS)
  41   41          $(LINT.c) strconf.c $(LDLIBS)
  42   42  
  43   43  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX