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/pca9556/Makefile
          +++ new/usr/src/uts/sun4u/pca9556/Makefile
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  
  50   50  LDFLAGS += -dy -N misc/i2c_svc
  51   51  
  52   52  #
  53   53  # For now, disable these lint checks; maintainers should endeavor
  54   54  # to investigate and remove these for maximum lint coverage.
  55   55  # Please do not carry these forward to new Makefiles.
  56   56  #
  57   57  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  58   58  
  59      -CERRWARN        += -_gcc=-Wno-uninitialized
       59 +CERRWARN        += $(CNOWARN_UNINIT)
  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  .KEEP_STATE:
  69   69  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX