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/usbvc/Makefile
          +++ new/usr/src/uts/sparc/usbvc/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  # depends on misc/usba
  61   61  LDFLAGS         += -dy -Nmisc/usba
  62   62  
  63   63  #
  64   64  #       Define targets
  65   65  #
  66   66  ALL_TARGET      = $(BINARY)
  67   67  LINT_TARGET     = $(MODULE).lint
  68   68  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  69   69  
  70      -CERRWARN        += -_gcc=-Wno-uninitialized
       70 +CERRWARN        += $(CNOWARN_UNINIT)
  71   71  
  72   72  #
  73   73  # Disable this because it is necessary for this driver
  74   74  # and it is surely safe
  75   75  #
  76   76  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77   77  
  78   78  .KEEP_STATE:
  79   79  
  80   80  all:            $(ALL_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX