mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Add a commented out CFLAGS entry that can be uncommented to compile thread
lock debug into libc_r. I don't know if this is the best place to document this, but at least it is recorded somewhere. 8-)
This commit is contained in:
parent
ddc8afd422
commit
627961e45f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36831
3 changed files with 18 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
|
||||
# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
|
||||
#
|
||||
# All library objects contain rcsid strings by default; they may be
|
||||
# excluded as a space-saving measure. To produce a library that does
|
||||
|
@ -10,6 +10,11 @@ SHLIB_MAJOR= 3
|
|||
SHLIB_MINOR= 0
|
||||
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
|
||||
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
|
||||
|
||||
# Uncomment this if you want libc_r to contain debug information for
|
||||
# thread locking.
|
||||
# CFLAGS+=-D_LOCK_DEBUG
|
||||
|
||||
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
|
||||
PRECIOUSLIB= yes
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
|
||||
# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
|
||||
#
|
||||
# All library objects contain rcsid strings by default; they may be
|
||||
# excluded as a space-saving measure. To produce a library that does
|
||||
|
@ -10,6 +10,11 @@ SHLIB_MAJOR= 3
|
|||
SHLIB_MINOR= 0
|
||||
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
|
||||
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
|
||||
|
||||
# Uncomment this if you want libc_r to contain debug information for
|
||||
# thread locking.
|
||||
# CFLAGS+=-D_LOCK_DEBUG
|
||||
|
||||
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
|
||||
PRECIOUSLIB= yes
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.9 1998/05/31 23:53:50 jb Exp $
|
||||
# $Id: Makefile,v 1.10 1998/06/01 02:12:15 jb Exp $
|
||||
#
|
||||
# All library objects contain rcsid strings by default; they may be
|
||||
# excluded as a space-saving measure. To produce a library that does
|
||||
|
@ -10,6 +10,11 @@ SHLIB_MAJOR= 3
|
|||
SHLIB_MINOR= 0
|
||||
CFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include
|
||||
CFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread
|
||||
|
||||
# Uncomment this if you want libc_r to contain debug information for
|
||||
# thread locking.
|
||||
# CFLAGS+=-D_LOCK_DEBUG
|
||||
|
||||
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
|
||||
PRECIOUSLIB= yes
|
||||
|
||||
|
|
Loading…
Reference in a new issue