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/scsa2usb/Makefile
          +++ new/usr/src/uts/sparc/scsa2usb/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  LDFLAGS         += -dy -Nmisc/usba -Nmisc/scsi
  61   61  
  62   62  #
  63   63  #       Define targets
  64   64  #
  65   65  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  66   66  LINT_TARGET     = $(MODULE).lint
  67   67  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  68   68  
  69   69  CERRWARN        += -_gcc=-Wno-unused-label
  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  
  79   79  .KEEP_STATE:
  80   80  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX