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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/vt/Makefile
          +++ new/usr/src/cmd/vt/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  #
  27   27  
  28   28  PROG= vtdaemon vtinfo vtxlock
  29   29  
  30   30  VTDAEMON_SRC= vtdaemon.c
  31   31  VTINFO_SRC= vtinfo.c
  32   32  
  33   33  include ../Makefile.cmd
  34   34  
  35   35  CFLAGS += $(CCVERBOSE)
  36      -CERRWARN += -_gcc=-Wno-uninitialized
       36 +CERRWARN += $(CNOWARN_UNINIT)
  37   37  
  38   38  vtdaemon := LDLIBS += -lpam -lbsm
  39   39  lint_vtdaemon := LDLIBS += -lpam -lbsm
  40   40  
  41   41  .KEEP_STATE:
  42   42  
  43   43  all: $(PROG) 
  44   44  
  45   45  vtdaemon: $(VTDAEMON_SRC)
  46   46          $(LINK.c) -o $@ $(VTDAEMON_SRC) $(LDLIBS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX