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/ipgpc/Makefile
          +++ new/usr/src/uts/sparc/ipgpc/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  LINT_TARGET     = $(MODULE).lint
  61   61  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  62   62  
  63   63  #
  64   64  # lint pass one enforcement
  65   65  #
  66   66  CFLAGS += $(CCVERBOSE)
  67   67  
  68   68  LDFLAGS += -dy -Ndrv/ip 
  69   69  
  70      -CERRWARN        += -_gcc=-Wno-uninitialized
       70 +CERRWARN        += $(CNOWARN_UNINIT)
  71   71  
  72   72  #
  73   73  # For now, disable these lint checks; maintainers should endeavor
  74   74  # to investigate and remove these for maximum lint coverage.
  75   75  # Please do not carry these forward to new Makefiles.
  76   76  #
  77   77  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78   78  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  79   79  
  80   80  #
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX