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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 include $(SRC)/Makefile.master
 
 BTS_DIR                 = $(ROOT)/usr/lib/iconv/geniconvtbl/binarytables
 

@@ -73,10 +74,13 @@
 
 LDLIBS                  = -lc
 
 LDFLAGS = $(DYNFLAGS) $(LDLIBS) $(CFLAG_OPT)
 
+# needs work
+SMATCH=off
+
 $(DYNOBJS)              := CFLAGS += $(XREGSFLAG) $(C_PICFLAGS) -D_REENTRANT \
                                         -I$(COMMON) -I$(COMMON)/tbls \
                                         -I$(ADJUNCT_PROTO)/usr/include
 
 $(UCS_2_SOS)            := CFLAGS += -DUCS_2