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/mac/Makefile
          +++ new/usr/src/uts/sparc/mac/Makefile
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  CFLAGS                          += $(CCVERBOSE)
  60   60  $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  61   61  $(RELEASE_BUILD)COPTIMIZE       = -xO5
  62   62  LDFLAGS                         += -dy
  63   63  INC_PATH                        += -I$(UTSBASE)/common/io/bpf
  64   64  
  65   65  LINTTAGS                        += -erroff=E_PTRDIFF_OVERFLOW
  66   66  LINTTAGS                        += -erroff=E_BAD_PTR_CAST_ALIGN
  67   67  
  68   68  CERRWARN                        += -_gcc=-Wno-unused-label
  69      -CERRWARN                        += -_gcc=-Wno-uninitialized
       69 +CERRWARN                        += $(CNOWARN_UNINIT)
  70   70  CERRWARN                        += -_gcc=-Wno-type-limits
  71   71  CERRWARN                        += -_gcc=-Wno-switch
  72   72  CERRWARN                        += -_gcc=-Wno-unused-variable
  73   73  
  74   74  #
  75   75  #       Default build targets.
  76   76  #
  77   77  .KEEP_STATE:
  78   78  
  79   79  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX