mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.
Submitted by: ru
This commit is contained in:
parent
c1f4dd9355
commit
683f4c0a40
4 changed files with 16 additions and 16 deletions
|
|
@ -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 a new issue