Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/geniconvtbl/Makefile.com
          +++ new/usr/src/cmd/geniconvtbl/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  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  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
       25 +#
  24   26  
  25   27  $(NOT_NATIVE)NATIVE_BUILD = $(POUND_SIGN)
  26   28  
  27   29  ITM     = geniconvtbl.so
  28   30  PROG    = geniconvtbl
  29   31  
  30   32  SRCSH1  = iconv_tm.h hash.h
  31   33  SRCCH1  = itmcomp.h itm_util.h maptype.h
  32   34  SRCSC1  = itmcomp.c assemble.c disassemble.c itm_util.c
  33   35  SRCY1   = itm_comp.y
↓ open down ↓ 51 lines elided ↑ open up ↑
  85   87  
  86   88  CPPFLAGS        += -I. -I..
  87   89  CERRWARN        += -_gcc=-Wno-uninitialized
  88   90  CERRWARN        += -_gcc=-Wno-unused-label
  89   91  CERRWARN        += -_gcc=-Wno-switch
  90   92  CERRWARN        += -_gcc=-Wno-unused-variable
  91   93  CERRWARN        += -_gcc=-Wno-implicit-function-declaration
  92   94  YFLAGS          += -d -v
  93   95  CFLAGS          += -D_FILE_OFFSET_BITS=64
  94   96  
  95      -$(ITM) :=       CFLAGS += $(GSHARED) $(C_PICFLAGS) $(ZTEXT) -h $@
       97 +# dump_expr() is too hairy
       98 +SMATCH=off
       99 +
      100 +$(ITM) :=       CFLAGS += $(GSHARED) $(C_PICFLAGS) $(ZTEXT) -h$@
  96  101  $(ITM) :=       CPPFLAGS += -D_REENTRANT 
  97  102  $(ITM) :=       sparc_CFLAGS += -xregs=no%appl
  98  103  $(ITM) :=       sparcv9_CFLAGS += -xregs=no%appl
  99  104  
 100  105  LDLIBS += -lgen
 101  106  
 102  107  MY_NATIVE_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -I. -I..
 103  108  MY_NATIVE_LDFLAGS = $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
 104  109  MY_NATIVE_LDLIBS = -lgen
 105  110  
↓ open down ↓ 95 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX