summaryrefslogtreecommitdiff
path: root/usr/src/lib/libzfs/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libzfs/Makefile.com')
-rw-r--r--usr/src/lib/libzfs/Makefile.com18
1 files changed, 3 insertions, 15 deletions
diff --git a/usr/src/lib/libzfs/Makefile.com b/usr/src/lib/libzfs/Makefile.com
index 577fa2fbca..ba69fc44ca 100644
--- a/usr/src/lib/libzfs/Makefile.com
+++ b/usr/src/lib/libzfs/Makefile.com
@@ -61,7 +61,7 @@ include ../../Makefile.lib
# libzfs must be installed in the root filesystem for mount(1M)
include ../../Makefile.rootfs
-LIBS= $(DYNLIB) $(LINTLIB)
+LIBS= $(DYNLIB)
SRCDIR = ../common
@@ -81,28 +81,16 @@ $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
# not linted
SMATCH=off
-# There's no lint library for zlib, so only include this when building
-$(DYNLIB) := LDLIBS += -lz
-
-LINTFLAGS += -erroff=E_STATIC_UNUSED
-LINTFLAGS64 += -erroff=E_STATIC_UNUSED
+LDLIBS += -lz
+NATIVE_LIBS += libz.so
SRCS= $(OBJS_COMMON:%.o=$(SRCDIR)/%.c) \
$(OBJS_SHARED:%.o=$(SRC)/common/zfs/%.c)
-$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
-
-# lint complains about unused inline functions, even though
-# they are "inline", not "static inline", with "extern inline"
-# implementations and usage in libzpool.
-LINTFLAGS += -erroff=E_STATIC_UNUSED
-LINTFLAGS64 += -erroff=E_STATIC_UNUSED
.KEEP_STATE:
all: $(LIBS)
-lint: lintcheck
-
pics/%.o: ../../../common/zfs/%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)