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/libc/amd64/Makefile
          +++ new/usr/src/lib/libc/amd64/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2016 Joyent, Inc.
  25   25  # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
  26   26  # Copyright 2013 Garrett D'Amore <garrett@damore.org>
  27   27  # Copyright 2018 Nexenta Systems, Inc.
       28 +# Copyright (c) 2018, Joyent, Inc.
  28   29  #
  29   30  
  30   31  LIBCBASE=       .
  31   32  LIBCDIR=        $(SRC)/lib/libc
  32   33  LIBRARY=        libc.a
  33   34  LIB_PIC=        libc_pic.a
  34   35  VERS=           .1
  35   36  CPP=            /usr/lib/cpp
  36   37  TARGET_ARCH=    amd64
  37   38  
↓ open down ↓ 990 lines elided ↑ open up ↑
1028 1029  CERRWARN += -_gcc=-Wno-uninitialized
1029 1030  CERRWARN += -_gcc=-Wno-unused-value
1030 1031  CERRWARN += -_gcc=-Wno-unused-label
1031 1032  CERRWARN += -_gcc=-Wno-unused-variable
1032 1033  CERRWARN += -_gcc=-Wno-type-limits
1033 1034  CERRWARN += -_gcc=-Wno-char-subscripts
1034 1035  CERRWARN += -_gcc=-Wno-clobbered
1035 1036  CERRWARN += -_gcc=-Wno-unused-function
1036 1037  CERRWARN += -_gcc=-Wno-address
1037 1038  
     1039 +# not linted
     1040 +SMATCH=off
     1041 +
1038 1042  # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1039 1043  # enables ASSERT() checking in the threads portion of the library.
1040 1044  # This is automatically enabled for DEBUG builds, not for non-debug builds.
1041 1045  THREAD_DEBUG =
1042 1046  $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1043 1047  
1044 1048  # Make string literals read-only to save memory
1045 1049  CFLAGS64 += $(XSTRCONST)
1046 1050  
1047 1051  ALTPICS= $(TRACEOBJS:%=pics/%)
↓ open down ↓ 233 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX