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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/init/Makefile
          +++ new/usr/src/cmd/init/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  PROG= init 
  29   29  ROOTFS_PROG= $(PROG)
  30   30  
  31   31  DEFAULTFILES= init.dfl
  32   32  
  33   33  include ../Makefile.cmd
  34   34  
  35   35  CSTD = $(CSTD_GNU99)
  36   36  LDLIBS += -lpam -lbsm -lcontract -lscf
  37   37  CERRWARN += -_gcc=-Wno-parentheses
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  40   40  CLOBBERFILES= $(STATIC)
  41   41  
  42   42  # needs work
  43   43  SMATCH=off
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(ROOTFS_PROG)
  48   48  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX