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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/mac/Makefile
          +++ new/usr/src/uts/intel/mac/Makefile
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53  #       Overrides.
  54   54  #
  55   55  CFLAGS          += $(CCVERBOSE)
  56   56  LDFLAGS         += -dy
  57   57  INC_PATH        += -I$(UTSBASE)/common/io/bpf
  58   58  
  59   59  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  60   60  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  61   61  
  62   62  CERRWARN        += -_gcc=-Wno-unused-label
  63      -CERRWARN        += -_gcc=-Wno-uninitialized
       63 +CERRWARN        += $(CNOWARN_UNINIT)
  64   64  CERRWARN        += -_gcc=-Wno-type-limits
  65   65  CERRWARN        += -_gcc=-Wno-switch
  66   66  CERRWARN        += -_gcc=-Wno-unused-variable
  67   67  
  68   68  # needs work
  69   69  SMOFF += all_func_returns
  70   70  $(OBJS_DIR)/mac.o := SMOFF += deref_check
  71   71  $(OBJS_DIR)/mac_util.o := SMOFF += signed
  72   72  
  73   73  # false positive
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX