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/ohci/Makefile
          +++ new/usr/src/uts/sparc/ohci/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  #
  60   60  LDFLAGS         += -dy -Nmisc/usba
  61   61  
  62   62  #
  63   63  #       Define targets
  64   64  #
  65   65  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  66   66  LINT_TARGET     = $(MODULE).lint
  67   67  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  68   68  
  69      -CERRWARN        += -_gcc=-Wno-uninitialized
       69 +CERRWARN        += $(CNOWARN_UNINIT)
  70   70  
  71   71  #
  72   72  # For now, disable these lint checks; maintainers should endeavor
  73   73  # to investigate and remove these for maximum lint coverage.
  74   74  # Please do not carry these forward to new Makefiles.
  75   75  #
  76   76  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77   77  
  78   78  .KEEP_STATE:
  79   79  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX