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/usbms/Makefile
          +++ new/usr/src/uts/sparc/usbms/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  LDFLAGS         += -dy -Nmisc/usba -Nmisc/hidparser
  60   60  
  61   61  #
  62   62  #       Define targets
  63   63  #
  64   64  ALL_TARGET      = $(BINARY)
  65   65  LINT_TARGET     = $(MODULE).lint
  66   66  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  67   67  
  68   68  CERRWARN        += -_gcc=-Wno-parentheses
  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 ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX