Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.module
          +++ new/usr/src/cmd/mdb/Makefile.module
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # Copyright (c) 2013 by Delphix. All rights reserved.
  26      -# Copyright 2015, Joyent, Inc.
       26 +# Copyright (c) 2018, Joyent, Inc.
  27   27  #
  28   28  
  29   29  .KEEP_STATE:
  30   30  .SUFFIXES:
  31   31  
  32   32  include $(SRC)/cmd/mdb/Makefile.tools
  33   33  
  34   34  #
  35   35  # Make sure we're getting a consistent execution environment for the
  36   36  # embedded scripts.
↓ open down ↓ 79 lines elided ↑ open up ↑
 116  116  CSTD                    = $(CSTD_GNU99)
 117  117  
 118  118  CFLAGS                  += $(CCVERBOSE)
 119  119  CFLAGS64                += $(CCVERBOSE)
 120  120  CPPFLAGS                += $($(MDBTGT)_TGTFLAGS) -I../../../common
 121  121  LDFLAGS                 += $(ZTEXT)
 122  122  LDFLAGS64               += $(ZTEXT)
 123  123  ASFLAGS                 += -P
 124  124  AS_CPPFLAGS             += -D_ASM
 125  125  
      126 +SMOFF += all_func_returns,index_overflow
      127 +
 126  128  # Module type-specific compiler flags
 127  129  $(MODOBJS) :=                   CFLAGS += $(C_BIGPICFLAGS) $(XREGSFLAG)
 128  130  $(MODOBJS) :=                   CFLAGS64 += $(C_BIGPICFLAGS) $(XREGSFLAG)
 129  131  $(KMODOBJS) $(KLINTOBJS) :=     CPPFLAGS += -D_KMDB
 130  132  $(KMODOBJS) :=                  V9CODESIZE = $(CCABS32)
 131  133  $(KMODOBJS) :=                  DTS_ERRNO =
 132  134  
 133  135  # Modules aren't allowed to export symbols
 134  136  MAPFILE         = $(SRC)/cmd/mdb/common/modules/conf/mapfile
 135  137  
↓ open down ↓ 169 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX