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/iptun/Makefile
          +++ new/usr/src/uts/intel/iptun/Makefile
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  #
  55   55  CFLAGS          += $(CCVERBOSE)
  56   56  LDFLAGS         += -dy -Ndrv/dld -Nmisc/dls -Nmisc/mac -Ndrv/ip
  57   57  INC_PATH        += -I$(UTSBASE)/common/io/bpf
  58   58  
  59   59  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  60   60  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  61   61  
  62   62  CERRWARN        += -_gcc=-Wno-unused-label
  63   63  CERRWARN        += -_gcc=-Wno-switch
  64      -CERRWARN        += -_gcc=-Wno-uninitialized
       64 +CERRWARN        += $(CNOWARN_UNINIT)
  65   65  
  66   66  #
  67   67  #       Default build targets.
  68   68  #
  69   69  .KEEP_STATE:
  70   70  
  71   71  def:            $(DEF_DEPS)
  72   72  
  73   73  all:            $(ALL_DEPS)
  74   74  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX