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/pcmcia/Makefile
          +++ new/usr/src/uts/sparc/pcmcia/Makefile
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  LDFLAGS +=      -dy -Nmisc/busra
  77   77  
  78   78  #
  79   79  # For now, disable these lint checks; maintainers should endeavor
  80   80  # to investigate and remove these for maximum lint coverage.
  81   81  # Please do not carry these forward to new Makefiles.
  82   82  #
  83   83  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  84   84  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  85   85  
  86      -CERRWARN        += -_gcc=-Wno-uninitialized
       86 +CERRWARN        += $(CNOWARN_UNINIT)
  87   87  CERRWARN        += -_gcc=-Wno-parentheses
  88   88  
  89   89  #
  90   90  #       Default build targets.
  91   91  #
  92   92  .KEEP_STATE:
  93   93  
  94   94  def:            $(DEF_DEPS)
  95   95  
  96   96  all:            $(ALL_DEPS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX