XXX: use only thread for ctfmerge

This commit is contained in:
christos 2014-03-09 19:10:01 +00:00
parent e7afef90f3
commit e946daf13f

View File

@ -1,4 +1,4 @@
# $NetBSD: sys.mk,v 1.121 2014/03/09 18:01:06 christos Exp $
# $NetBSD: sys.mk,v 1.122 2014/03/09 19:10:01 christos Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
#
# This file contains the basic rules for make(1) and is read first
@ -44,10 +44,8 @@ LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
# C Type Format data is required for DTrace
CTFFLAGS ?= -g -L VERSION
CTFMFLAGS ?= -g -t -L VERSION
# XXX: Avoid deadlock in threads
CTFMERGE_MAX_SLOTS=1
.export CFTMERGE_MAX_SLOTS
# Use only one thread for now.
CTFMFLAGS ?= -S 1 -g -t -L VERSION
# We have to define these here, because if we don't the rules below will
# not work