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/spppcomp/Makefile
          +++ new/usr/src/uts/sparc/spppcomp/Makefile
↓ open down ↓ 67 lines elided ↑ open up ↑
  68   68  CFLAGS          += $(CCVERBOSE)
  69   69  
  70   70  #
  71   71  # Define dependency on sppp
  72   72  #
  73   73  LDFLAGS += -dy -N drv/sppp
  74   74  
  75   75  CLEANLINTFILES  += $(LINT64_FILES)
  76   76  
  77   77  CERRWARN        += -_gcc=-Wno-parentheses
  78      -CERRWARN        += -_gcc=-Wno-uninitialized
       78 +CERRWARN        += $(CNOWARN_UNINIT)
  79   79  
  80   80  #
  81   81  # For now, disable these lint checks; maintainers should endeavor
  82   82  # to investigate and remove these for maximum lint coverage.
  83   83  # Please do not carry these forward to new Makefiles.
  84   84  #
  85   85  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  86   86  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  87   87  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  88   88  
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX