Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/seeprom/Makefile
          +++ new/usr/src/uts/sun4u/seeprom/Makefile
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  
  51   51  LDFLAGS += -dy -N misc/i2c_svc
  52   52  
  53   53  #
  54   54  # For now, disable these lint checks; maintainers should endeavor
  55   55  # to investigate and remove these for maximum lint coverage.
  56   56  # Please do not carry these forward to new Makefiles.
  57   57  #
  58   58  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  59   59  
  60      -CERRWARN        += -_gcc=-Wno-uninitialized
       60 +CERRWARN        += $(CNOWARN_UNINIT)
  61   61  
  62   62  #
  63   63  #       Define targets
  64   64  #
  65   65  ALL_TARGET      = $(BINARY)
  66   66  LINT_TARGET     = $(MODULE).lint
  67   67  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  68   68  
  69   69  .KEEP_STATE:
  70   70  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX