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/serengeti/unix/Makefile
          +++ new/usr/src/uts/sun4u/serengeti/unix/Makefile
↓ open down ↓ 106 lines elided ↑ open up ↑
 107  107  CLOBBERFILES    = $(CLEANFILES) $(UNIX_BIN)
 108  108  CLEANLINTFILES  += $(LINT_LIB)
 109  109  
 110  110  #
 111  111  # lint pass one enforcement 
 112  112  # Turn on doubleword alignment for 64 bit counter timer registers
 113  113  #
 114  114  CFLAGS += $(CCVERBOSE) -dalign
 115  115  
 116  116  CERRWARN        += -_gcc=-Wno-parentheses
 117      -CERRWARN        += -_gcc=-Wno-uninitialized
      117 +CERRWARN        += $(CNOWARN_UNINIT)
 118  118  CERRWARN        += -_gcc=-Wno-char-subscripts
 119  119  CERRWARN        += -_gcc=-Wno-unused-variable
 120  120  CERRWARN        += -_gcc=-Wno-unused-function
 121  121  CERRWARN        += -_gcc=-Wno-unused-label
 122  122  CERRWARN        += -_gcc=-Wno-type-limits
 123  123  CERRWARN        += -_gcc=-Wno-clobbered
 124  124  CERRWARN        += -_gcc=-Wno-empty-body
 125  125  CERRWARN        += -_gcc=-Wno-unused-value
 126  126  CERRWARN        += -_gcc=-Wno-switch
 127  127  
↓ open down ↓ 67 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX