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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/platsvc/Makefile
          +++ new/usr/src/uts/sun4v/platsvc/Makefile
↓ open down ↓ 48 lines elided ↑ open up ↑
  49   49  # Define targets
  50   50  #
  51   51  ALL_TARGET      = $(BINARY)
  52   52  LINT_TARGET     = $(MODULE).lint
  53   53  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54   54  
  55   55  #
  56   56  # lint pass one enforcement
  57   57  #
  58   58  CFLAGS          += $(CCVERBOSE)
  59      -CERRWARN        += -_gcc=-Wno-uninitialized
       59 +CERRWARN        += $(CNOWARN_UNINIT)
  60   60  
  61   61  #
  62   62  # Turn on doubleword alignment for 64 bit registers
  63   63  #
  64   64  CFLAGS          += -dalign
  65   65  
  66   66  #
  67   67  # Module Dependencies
  68   68  #
  69   69  LDFLAGS         += -dy -Nmisc/ds -Ndrv/drctl
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX