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/rge/Makefile
          +++ new/usr/src/uts/sparc/rge/Makefile
↓ open down ↓ 61 lines elided ↑ open up ↑
  62   62  # Turn on doubleword alignment for 64 bit registers
  63   63  #
  64   64  CFLAGS          += -dalign
  65   65  
  66   66  #
  67   67  # Driver depends on MAC & IP
  68   68  #
  69   69  LDFLAGS         += -dy -N misc/mac -N drv/ip
  70   70  
  71   71  CERRWARN        += -_gcc=-Wno-switch
  72      -CERRWARN        += -_gcc=-Wno-uninitialized
       72 +CERRWARN        += $(CNOWARN_UNINIT)
  73   73  
  74   74  #
  75   75  # For now, disable these lint checks; maintainers should endeavor
  76   76  # to investigate and remove these for maximum lint coverage.
  77   77  # Please do not carry these forward to new Makefiles.
  78   78  #
  79   79  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  80   80  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  81   81  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  82   82  
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX