Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdisasm/Makefile.com
          +++ new/usr/src/lib/libdisasm/Makefile.com
↓ open down ↓ 115 lines elided ↑ open up ↑
 116  116  
 117  117  ASFLAGS_standalone = -DDIS_STANDALONE
 118  118  ASFLAGS_library =
 119  119  ASFLAGS += -P $(ASFLAGS_$(CURTYPE)) -D_ASM
 120  120  
 121  121  $(LINTLIB) := SRCS = $(COMDIR)/$(LINTSRC)
 122  122  
 123  123  CERRWARN +=     -_gcc=-Wno-parentheses
 124  124  CERRWARN +=     -_gcc=-Wno-uninitialized
 125  125  
      126 +# not linted
      127 +SMATCH=off
      128 +
 126  129  # We want the thread-specific errno in the library, but we don't want it in
 127  130  # the standalone.  $(DTS_ERRNO) is designed to add -D_TS_ERRNO to $(CPPFLAGS),
 128  131  # in order to enable this feature.  Conveniently, -D_REENTRANT does the same
 129  132  # thing.  As such, we null out $(DTS_ERRNO) to ensure that the standalone
 130  133  # doesn't get it.
 131  134  DTS_ERRNO=
 132  135  
 133  136  CPPFLAGS_standalone = -DDIS_STANDALONE -I$(SRC)/cmd/mdb/common
 134  137  CPPFLAGS_library = -D_REENTRANT
 135  138  CPPFLAGS +=     -I$(COMDIR) $(CPPFLAGS_$(CURTYPE))
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX