To reduce the impact of possible removal of the syscalls required by
libkse in FreeBSD 8.0, do not build or install static versions of libkse (i.e. libkse*.a) in the default case. Static versions will be built and installed if libthr is not built or if libkse is the default threading library. Discussed on: freebsd-arch MFC after: 3 days
This commit is contained in:
parent
a9445e17cc
commit
3c42c4abed
@ -14,6 +14,12 @@
|
||||
# The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
|
||||
#
|
||||
|
||||
# 20071129: Disabled static versions of libkse by default
|
||||
.if ${DEFAULT_THREAD_LIB} != "libkse" && ${MK_LIBTHR} != "no"
|
||||
OLD_FILES+=usr/lib/libkse.a
|
||||
OLD_FILES+=usr/lib/libkse_p.a
|
||||
OLD_FILES+=usr/lib/libkse_pic.a
|
||||
.endif
|
||||
# 20071129: Removed a Solaris compatibility header
|
||||
OLD_FILES+=usr/include/sys/_elf_solaris.h
|
||||
# 20071108: Removed very crunch OLDCARD support file
|
||||
|
@ -10,12 +10,15 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if (${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no") && \
|
||||
${SHLIBDIR} == "/usr/lib"
|
||||
.if ${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no"
|
||||
LIB=kse
|
||||
.if ${SHLIBDIR} == "/usr/lib"
|
||||
SHLIBDIR= /lib
|
||||
.endif
|
||||
.else
|
||||
SHLIB=kse
|
||||
.endif
|
||||
|
||||
LIB=kse
|
||||
SHLIB_MAJOR= 3
|
||||
CFLAGS+=-DPTHREAD_KERNEL
|
||||
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
|
||||
|
Loading…
x
Reference in New Issue
Block a user