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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libast/Makefile.com
          +++ new/usr/src/lib/libast/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  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  
  22   22  #
  23   23  # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  SHELL=/usr/bin/ksh93
  27   28  
  28   29  LIBRARY=        libast.a
  29   30  VERS=           .1
  30   31  
  31   32  # platform-independent sources are in common/
  32   33  OBJECTS += \
  33   34          common/cdt/dtclose.o \
  34   35          common/cdt/dtdisc.o \
↓ open down ↓ 696 lines elided ↑ open up ↑
 731  732  CERRWARN += -_gcc=-Wno-unused-but-set-variable
 732  733  CERRWARN += -_gcc=-Wno-unused-but-set-parameter
 733  734  CERRWARN += -_gcc=-Wno-unused-value
 734  735  CERRWARN += -_gcc=-Wno-unused-function
 735  736  CERRWARN += -_gcc=-Wno-unused-label
 736  737  CERRWARN += -_gcc=-Wno-implicit-function-declaration
 737  738  CERRWARN += -_gcc=-Wno-empty-body
 738  739  CERRWARN += -_gcc=-Wno-type-limits
 739  740  CERRWARN += -_gcc=-Wno-address
 740  741  
      742 +SMATCH=off
      743 +
 741  744  pics/$(MACH)/src/lib/libast/conftab.o \
 742  745  pics/$(MACH64)/src/lib/libast/conftab.o := CERRWARN += -erroff=E_INIT_DOES_NOT_FIT
 743  746  pics/common/comp/setlocale.o            := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
 744  747  pics/common/comp/setlocale.o            := CERRWARN += -erroff=E_INIT_DOES_NOT_FIT
 745  748  pics/common/comp/setlocale.o            := CERRWARN += -erroff=E_INIT_SIGN_EXTEND
 746  749  pics/common/hash/hashlook.o             := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
 747  750  pics/common/hash/memhash.o              := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
 748  751  pics/common/hash/memsum.o               := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
 749  752  pics/common/hash/strhash.o              := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
 750  753  pics/common/hash/strsum.o               := CERRWARN += -erroff=E_CONST_PROMOTED_UNSIGNED_LONG
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX