Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/ppm/Makefile
          +++ new/usr/src/uts/sun4u/ppm/Makefile
↓ open down ↓ 68 lines elided ↑ open up ↑
  69   69  #
  70   70  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71   71  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72   72  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  73   73  LINTTAGS        += -erroff=E_STATIC_UNUSED
  74   74  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  75   75  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  76   76  
  77   77  CERRWARN        += -_gcc=-Wno-switch
  78   78  CERRWARN        += -_gcc=-Wno-parentheses
  79      -CERRWARN        += -_gcc=-Wno-uninitialized
       79 +CERRWARN        += $(CNOWARN_UNINIT)
  80   80  
  81   81  #
  82   82  # Turn on doubleword alignment for 64 bit registers
  83   83  #
  84   84  CFLAGS += -dalign
  85   85  
  86   86  #
  87   87  #       Default build targets.
  88   88  #
  89   89  .KEEP_STATE:
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX