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/bridge/Makefile
          +++ new/usr/src/uts/intel/bridge/Makefile
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  #
  51   51  ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  52   52  LINT_TARGET     = $(MODULE).lint
  53   53  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54   54  
  55   55  #
  56   56  # lint pass one enforcement
  57   57  #
  58   58  CFLAGS          += $(CCVERBOSE)
  59   59  
  60      -CERRWARN        += -_gcc=-Wno-uninitialized
       60 +CERRWARN        += $(CNOWARN_UNINIT)
  61   61  CERRWARN        += -_gcc=-Wno-switch
  62   62  CERRWARN        += -_gcc=-Wno-parentheses
  63   63  
  64   64  #
  65   65  # Driver depends on MAC, DLS, and DLD
  66   66  #
  67   67  LDFLAGS         += -dy -Nmisc/mac -Nmisc/dls -Ndrv/dld -Nfs/dev
  68   68  
  69   69  #
  70   70  #       Default build targets.
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX