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