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