summaryrefslogtreecommitdiff
path: root/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-01-17 09:49:43 -0800
committerToomas Soome <tsoome@me.com>2020-02-05 19:00:00 +0200
commit5801b0f01c3c34499a929ed96164a5a68b470945 (patch)
tree50e06e6f9eb27ea820f4f4e711c485499aad6e86 /usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
parent948761701ebc8a0cf820a973780b2fbb931c4390 (diff)
downloadillumos-joyent-5801b0f01c3c34499a929ed96164a5a68b470945.tar.gz
12217 add ld assert-deflib and guidance to gate build
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com')
-rw-r--r--usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com17
1 files changed, 3 insertions, 14 deletions
diff --git a/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com b/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
index 31867e3d2d..05fe0a1e2a 100644
--- a/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
+++ b/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com
@@ -39,13 +39,7 @@ BERLIB64= $(BERLIB)
OPENSSLLIBS= $(BERLIB) -lcrypto -lcryptoutil -lc
OPENSSLLIBS64= $(BERLIB64) -lcrypto -lcryptoutil -lc
-LINTSSLLIBS = $(BERLIB) -lcrypto -lcryptoutil -lc
-LINTSSLLIBS64 = $(BERLIB64) -lcrypto -lcryptoutil -lc
-
-# Because of varying openssl implementations, we need to not have lint
-# complain if we're being liberal in our suppression directives.
-LINTFLAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
-LINTFLAGS64 += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+NATIVE_LIBS += libcrypto.so
SRCDIR= ../common
INCDIR= ../../include
@@ -63,10 +57,7 @@ SMATCH=off
PICS= $(OBJECTS:%=pics/%)
-lint:= OPENSSLLIBS= $(LINTSSLLIBS)
-lint:= OPENSSLLIBS64= $(LINTSSLLIBS64)
-
-LDLIBS32 += $(OPENSSLLIBS)
+LDLIBS32 += $(OPENSSLLIBS)
ROOTLIBDIR= $(ROOTFS_LIBDIR)/crypto
ROOTLIBDIR64= $(ROOTFS_LIBDIR)/crypto/$(MACH64)
@@ -74,9 +65,7 @@ ROOTLIBDIR64= $(ROOTFS_LIBDIR)/crypto/$(MACH64)
.KEEP_STATE:
LIBS = $(DYNLIB)
-all: $(DYNLIB) $(LINTLIB)
-
-lint: lintcheck
+all: $(DYNLIB)
FRC: