Module Name: src
Committed By: christos
Date: Wed Mar 27 11:15:55 UTC 2019
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
undo previous, too much breaks.
To generate a diff of this commit:
cvs rdiff -u -r1.1115 -r1.1116 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.1115 src/share/mk/bsd.own.mk:1.1116
--- src/share/mk/bsd.own.mk:1.1115 Tue Mar 26 22:51:41 2019
+++ src/share/mk/bsd.own.mk Wed Mar 27 07:15:55 2019
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1115 2019/03/27 02:51:41 christos Exp $
+# $NetBSD: bsd.own.mk,v 1.1116 2019/03/27 11:15:55 christos Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -172,7 +172,14 @@ 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" || \
+ ${MACHINE_CPU} == "i386" || \
+ ${MACHINE_CPU} == "aarch64" || \
+ ${MACHINE} == "sparc64"
HAVE_JEMALLOC?= 510
+.else
+HAVE_JEMALLOC?= 100
+.endif
.if empty(.MAKEFLAGS:tW:M*-V .OBJDIR*)
.if defined(MAKEOBJDIRPREFIX) || defined(MAKEOBJDIR)