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/rpcmod/Makefile
          +++ new/usr/src/uts/sparc/rpcmod/Makefile
↓ open down ↓ 79 lines elided ↑ open up ↑
  80   80  # Please do not carry these forward to new Makefiles.
  81   81  #
  82   82  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  83   83  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  84   84  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  85   85  LINTTAGS        += -erroff=E_STATIC_UNUSED
  86   86  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  87   87  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  88   88  
  89   89  CERRWARN        += -_gcc=-Wno-parentheses
  90      -CERRWARN        += -_gcc=-Wno-uninitialized
       90 +CERRWARN        += $(CNOWARN_UNINIT)
  91   91  CERRWARN        += -_gcc=-Wno-switch
  92   92  CERRWARN        += -_gcc=-Wno-unused-variable
  93   93  CERRWARN        += -_gcc=-Wno-unused-label
  94   94  CERRWARN        += -_gcc=-Wno-unused-function
  95   95  
  96   96  #
  97   97  #       Default build targets.
  98   98  #
  99   99  .KEEP_STATE:
 100  100  
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX