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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/acpidev/Makefile
          +++ new/usr/src/uts/i86pc/acpidev/Makefile
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  #       Define targets
  55   55  #
  56   56  ALL_TARGET      = $(BINARY)
  57   57  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58   58  
  59   59  #
  60   60  # Depends on acpica ACPI CA interpreter
  61   61  #
  62   62  LDFLAGS         += -dy -N misc/acpica
  63   63  
  64      -CERRWARN        += -_gcc=-Wno-uninitialized
       64 +CERRWARN        += $(CNOWARN_UNINIT)
  65   65  CERRWARN        += -_gcc=-Wno-unused-function
  66   66  CERRWARN        += -_gcc=-Wno-type-limits
  67   67  
  68   68  # needs work
  69   69  SMOFF += deref_check
  70   70  
  71   71  #
  72   72  #       Default build targets.
  73   73  #
  74   74  .KEEP_STATE:
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX