Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions
@@ -9,10 +9,11 @@
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
LIBMDIR = $(SRC)/lib/libm
LIBMSRC = $(LIBMDIR)/common
@@ -61,10 +62,14 @@
# libm depends on integer overflow characteristics
CFLAGS += -_gcc=-fno-strict-overflow
CFLAGS64 += -_gcc=-fno-strict-overflow
+# sparse currently has no _Complex support
+CFLAGS += -_smatch=off
+CFLAGS64 += -_smatch=off
+
$(DYNLIB) := LDLIBS += -lc
$(LINTLIB) := SRCS = $(LIBMSRC)/$(LINTSRC)
CLEANFILES += pics/*.s pics/*.S