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/bge/Makefile
          +++ new/usr/src/uts/sparc/bge/Makefile
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  #
  71   71  LDFLAGS         += -dy -N misc/mac
  72   72  
  73   73  #
  74   74  # For now, disable these lint checks; maintainers should endeavor
  75   75  # to investigate and remove these for maximum lint coverage.
  76   76  # Please do not carry these forward to new Makefiles.
  77   77  #
  78   78  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  79   79  
  80      -CERRWARN        += -_gcc=-Wno-uninitialized
       80 +CERRWARN        += $(CNOWARN_UNINIT)
  81   81  CERRWARN        += -_gcc=-Wno-switch
  82   82  CERRWARN        += -_gcc=-Wno-parentheses
  83   83  CERRWARN        += -_gcc=-Wno-unused-variable
  84   84  CERRWARN        += -_gcc=-Wno-unused-function
  85   85  
  86   86  #
  87   87  #       Default build targets.
  88   88  #
  89   89  .KEEP_STATE:
  90   90  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX