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/dad/Makefile
          +++ new/usr/src/uts/sparc/dad/Makefile
↓ open down ↓ 68 lines elided ↑ open up ↑
  69   69  # Please do not carry these forward to new Makefiles.
  70   70  #
  71   71  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72   72  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73   73  LINTTAGS        += -erroff=E_STATIC_UNUSED
  74   74  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  75   75  
  76   76  CERRWARN        += -_gcc=-Wno-unused-label
  77   77  CERRWARN        += -_gcc=-Wno-unused-variable
  78   78  CERRWARN        += -_gcc=-Wno-unused-function
  79      -CERRWARN        += -_gcc=-Wno-uninitialized
       79 +CERRWARN        += $(CNOWARN_UNINIT)
  80   80  CERRWARN        += -_gcc=-Wno-parentheses
  81   81  CERRWARN        += -_gcc=-Wno-switch
  82   82  CERRWARN        += -_gcc=-Wno-type-limits
  83   83  
  84   84  #
  85   85  #       Default build targets.
  86   86  #
  87   87  .KEEP_STATE:
  88   88  
  89   89  all:            $(ALL_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX