mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.
Submitted by: ru
This commit is contained in:
parent
c1f4dd9355
commit
683f4c0a40
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169648
@ -8,12 +8,12 @@
|
||||
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
|
||||
# system call stubs.
|
||||
|
||||
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libc_r")
|
||||
SHLIBDIR?= /lib
|
||||
.endif
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${DEFAULT_THREAD_LIB} == "libc_r"
|
||||
SHLIBDIR= /lib
|
||||
.endif
|
||||
|
||||
LIB=c_r
|
||||
SHLIB_MAJOR= 6
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
|
@ -8,12 +8,12 @@
|
||||
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
|
||||
# system call stubs.
|
||||
|
||||
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libpthread")
|
||||
SHLIBDIR?= /lib
|
||||
.endif
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${DEFAULT_THREAD_LIB} == "libpthread"
|
||||
SHLIBDIR= /lib
|
||||
.endif
|
||||
|
||||
LIB=kse
|
||||
SHLIB_MAJOR= 2
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
|
@ -8,12 +8,12 @@
|
||||
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
|
||||
# system call stubs.
|
||||
|
||||
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libpthread")
|
||||
SHLIBDIR?= /lib
|
||||
.endif
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${DEFAULT_THREAD_LIB} == "libpthread"
|
||||
SHLIBDIR= /lib
|
||||
.endif
|
||||
|
||||
LIB=kse
|
||||
SHLIB_MAJOR= 2
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
|
@ -8,12 +8,12 @@
|
||||
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
|
||||
# system call stubs.
|
||||
|
||||
.if !defined(DEFAULT_THREAD_LIB) || (${DEFAULT_THREAD_LIB} == "libthr")
|
||||
SHLIBDIR?= /lib
|
||||
.endif
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if ${DEFAULT_THREAD_LIB} == "libthr"
|
||||
SHLIBDIR= /lib
|
||||
.endif
|
||||
|
||||
LIB=thr
|
||||
SHLIB_MAJOR= 2
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user