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/poll/Makefile
          +++ new/usr/src/uts/intel/poll/Makefile
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  OBJECTS         = $(DEVPOLL_OBJS:%=$(OBJS_DIR)/%)
  43   43  LINTS           = $(DEVPOLL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44   44  ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45   45  CONF_SRCDIR     = $(UTSBASE)/common/io
  46   46  
  47   47  #
  48   48  #       Include common rules.
  49   49  #
  50   50  include $(UTSBASE)/intel/Makefile.intel
  51   51  
  52      -CERRWARN        += -_gcc=-Wno-uninitialized
       52 +CERRWARN        += $(CNOWARN_UNINIT)
  53   53  
  54   54  #
  55   55  # It's unfortunate that we have to disable this; however, it's lint's fault. We
  56   56  # have a line which only causes a lint warning on a 64-bit build. If we suppress
  57   57  # it, then the 32-bit lint build complains about it being unnecessarily
  58   58  # suppressed. Therefore, the only thing it seems like we can do is disable the
  59   59  # lint warning completely.
  60   60  #
  61   61  
  62   62  LINTTAGS      += -erroff=E_BAD_PTR_CAST_ALIGN
↓ open down ↓ 33 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX