Module Name: src
Committed By: riastradh
Date: Fri Nov 22 15:48:42 UTC 2024
Modified Files:
src/external/bsd/jemalloc.old/lib: Makefile
Log Message:
jemalloc.old: Nix expsym for jemalloc<=100.
This version doesn't actually export any symbols! Should fix vax
build.
PR lib/58838: shared libraries in base should all have expsym lists
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/jemalloc.old/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/jemalloc.old/lib/Makefile
diff -u src/external/bsd/jemalloc.old/lib/Makefile:1.1.1.1 src/external/bsd/jemalloc.old/lib/Makefile:1.2
--- src/external/bsd/jemalloc.old/lib/Makefile:1.1.1.1 Mon Sep 23 12:52:54 2024
+++ src/external/bsd/jemalloc.old/lib/Makefile Fri Nov 22 15:48:41 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2024/09/23 12:52:54 christos Exp $
+# $NetBSD: Makefile,v 1.2 2024/11/22 15:48:41 riastradh Exp $
WARNS?= 5
.include <bsd.init.mk>
@@ -9,4 +9,8 @@ LIB=jemalloc
CPPFLAGS+= -DHAVE_JEMALLOC=${HAVE_JEMALLOC:U0}
SRCS= jemalloc_stub.c
+.if ${HAVE_JEMALLOC:U0} <= 100
+LIB_EXPSYM= /dev/null
+.endif
+
.include <bsd.lib.mk>