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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/rdsv3/Makefile
          +++ new/usr/src/uts/sparc/rdsv3/Makefile
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55   55  
  56   56  #
  57   57  # lint pass one enforcement and OS version
  58   58  #
  59   59  CFLAGS += $(CCVERBOSE)
  60   60  
  61   61  CERRWARN        += -_gcc=-Wno-unused-label
  62   62  CERRWARN        += -_gcc=-Wno-unused-variable
  63   63  CERRWARN        += -_gcc=-Wno-unused-function
  64      -CERRWARN        += -_gcc=-Wno-uninitialized
       64 +CERRWARN        += $(CNOWARN_UNINIT)
  65   65  CERRWARN        += -_gcc=-Wno-parentheses
  66   66  
  67   67  #
  68   68  # Disable these lint checks since some errors suppressed here are
  69   69  # in the OFED code, but we'd like to keep it as is as much as possible.
  70   70  # Note. maintainers should endeavor to investigate and remove these for
  71   71  # maximum lint coverage, but please do not carry these forward to new 
  72   72  # Makefiles blindly.
  73   73  #
  74   74  LINTTAGS        += -erroff=E_STATIC_UNUSED
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX