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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/pg/Makefile
          +++ new/usr/src/cmd/pg/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  PROG= pg
  28   28  
  29   29  include ../Makefile.cmd
  30   30  
  31   31  CFLAGS += -DSINGLE $(CCVERBOSE)
  32   32  LDLIBS += -lgen -lcurses
  33   33  XGETFLAGS += -a -x $(PROG).xcl
  34   34  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  35   35  
  36   36  CERRWARN += -_gcc=-Wno-parentheses
  37      -CERRWARN += -_gcc=-Wno-uninitialized
       37 +CERRWARN += $(CNOWARN_UNINIT)
  38   38  CERRWARN += -_gcc=-Wno-clobbered
  39   39  
  40   40  .KEEP_STATE:
  41   41  
  42   42  all: $(PROG) 
  43   43  
  44   44  install: all $(ROOTPROG)
  45   45  
  46   46  clean:
  47   47  
  48   48  lint:   lint_PROG
  49   49  
  50   50  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX