Print this page
4804 apix & pcplusmp are nearly warning free already
Tentatively Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/pcplusmp/Makefile
          +++ new/usr/src/uts/i86pc/pcplusmp/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59   59  
  60   60  DEBUG_FLGS      =
  61   61  $(NOT_RELEASE_BUILD)DEBUG_DEFS  += $(DEBUG_FLGS)
  62   62  
  63   63  #
  64   64  # Depends on ACPI CA interpreter
  65   65  #
  66   66  LDFLAGS         += -dy -N misc/acpica
  67   67  
  68      -CFLAGS          += -Dbug1157974 -Dbug1155030
  69      -
  70   68  #
  71   69  # For now, disable these lint checks; maintainers should endeavor
  72   70  # to investigate and remove these for maximum lint coverage.
  73   71  # Please do not carry these forward to new Makefiles.
  74   72  #
  75   73  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76   74  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  77   75  LINTTAGS        += -erroff=E_STATIC_UNUSED
  78   76  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  79   77  
  80      -CERRWARN        += -_gcc=-Wno-parentheses
  81   78  CERRWARN        += -_gcc=-Wno-uninitialized
  82      -CERRWARN        += -_gcc=-Wno-unused-function
  83      -CERRWARN        += -_gcc=-Wno-unused-variable
  84      -CERRWARN        += -_gcc=-Wno-empty-body
  85   79  
  86   80  #
  87   81  #       Default build targets.
  88   82  #
  89   83  .KEEP_STATE:
  90   84  
  91   85  def:            $(DEF_DEPS)
  92   86  
  93   87  all:            $(ALL_DEPS)
  94   88  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX