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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/pcmcia/Makefile
          +++ new/usr/src/uts/intel/pcmcia/Makefile
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74  LDFLAGS +=      -dy -Nmisc/busra -Nmisc/pci_autoconfig
  75   75  
  76   76  #
  77   77  # For now, disable these lint checks; maintainers should endeavor
  78   78  # to investigate and remove these for maximum lint coverage.
  79   79  # Please do not carry these forward to new Makefiles.
  80   80  #
  81   81  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  82   82  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83   83  
  84      -CERRWARN        += -_gcc=-Wno-uninitialized
       84 +CERRWARN        += $(CNOWARN_UNINIT)
  85   85  CERRWARN        += -_gcc=-Wno-parentheses
  86   86  
  87   87  # needs work
  88   88  SMATCH=off
  89   89  
  90   90  #
  91   91  #       Default build targets.
  92   92  #
  93   93  .KEEP_STATE:
  94   94  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX