Module Name: src Committed By: christos Date: Fri Mar 8 20:35:10 UTC 2019
Modified Files: src/share/mk: bsd.own.mk Log Message: Back to using jemalloc for x86_64; all problems have been resolved. To generate a diff of this commit: cvs rdiff -u -r1.1107 -r1.1108 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1107 src/share/mk/bsd.own.mk:1.1108 --- src/share/mk/bsd.own.mk:1.1107 Mon Mar 4 16:19:58 2019 +++ src/share/mk/bsd.own.mk Fri Mar 8 15:35:10 2019 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1107 2019/03/04 21:19:58 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1108 2019/03/08 20:35:10 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -172,7 +172,11 @@ EXTERNAL_BINUTILS_SUBDIR= /does/not/exis # What version of jemalloc we use (100 is the one # built-in to libc from 2005 (pre version 3). # +.if ${MACHINE_CPU} == "x86_64" +HAVE_JEMALLOC?= 510 +.else HAVE_JEMALLOC?= 100 +.endif .if empty(.MAKEFLAGS:tW:M*-V .OBJDIR*) .if defined(MAKEOBJDIRPREFIX) || defined(MAKEOBJDIR)