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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/vcc/Makefile
          +++ new/usr/src/uts/sun4v/vcc/Makefile
↓ open down ↓ 62 lines elided ↑ open up ↑
  63   63  ALL_TARGET      = $(BINARY)
  64   64  LINT_TARGET     = $(MODULE).lint
  65   65  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  66   66  
  67   67  #
  68   68  # lint pass one enforcement
  69   69  #
  70   70  CFLAGS += $(CCVERBOSE)
  71   71  CERRWARN += -_gcc=-Wno-type-limits
  72   72  CERRWARN += -_gcc=-Wno-unused-function
  73      -CERRWARN += -_gcc=-Wno-uninitialized
       73 +CERRWARN += $(CNOWARN_UNINIT)
  74   74  
  75   75  #
  76   76  # compiler failes with not reached statements
  77   77  #
  78   78  CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
  79   79  
  80   80  #
  81   81  # module dependencies
  82   82  #
  83   83  LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX