Print this page
10079 smatch Makefile changes for usr/src/lib
*** 23,32 ****
--- 23,33 ----
# Use is subject to license terms.
#
#
# usr/src/lib/hal/libhal/Makefile.com
#
+ # Copyright (c) 2018, Joyent, Inc.
LIBRARY = libhal.a
VERS = .1.0.0
VERS_MAJ = .1
OBJECTS = libhal.o
*** 42,51 ****
--- 43,54 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += $(HAL_CONFIG_CPPFLAGS)
CPPFLAGS += -DGETTEXT_PACKAGE=\"$(HAL_GETTEXT_PACKAGE)\" -DENABLE_NLS
+ SMOFF += all_func_returns,leaks
+
ROOTMAJLINK = $(ROOTLIBDIR)/$(LIBRARY:.a=.so)$(VERS_MAJ)
ROOTMAJLINK64 = $(ROOTLIBDIR64)/$(LIBRARY:.a=.so)$(VERS_MAJ)
.KEEP_STATE: