From f4a12fc67689a830e9da1c87fd11afe5bc09deb3 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 2 Jan 2020 21:06:40 +0100 Subject: Issue #1338 - Part 2: Update NSS to 3.48-RTM --- security/nss/coreconf/OpenBSD.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'security/nss/coreconf/OpenBSD.mk') diff --git a/security/nss/coreconf/OpenBSD.mk b/security/nss/coreconf/OpenBSD.mk index 36a92d087..acf8507aa 100644 --- a/security/nss/coreconf/OpenBSD.mk +++ b/security/nss/coreconf/OpenBSD.mk @@ -36,6 +36,11 @@ DSO_CFLAGS = -fPIC -DPIC DSO_LDOPTS = -shared -fPIC -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX) MKSHLIB = $(CC) $(DSO_LDOPTS) +ifdef MAPFILE + MKSHLIB += -Wl,--version-script,$(MAPFILE) +endif +PROCESS_MAP_FILE = grep -v ';-' $< | \ + sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@ USE_SYSTEM_ZLIB = 1 ZLIB_LIBS = -lz -- cgit v1.2.3