mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
bba950fcaf
src.opts.mk includes bsd.own.mk, which sets SHLIBDIR, so having this
line after it does nothing. Hoist it like other libraries so it takes
effect.
Reported by: vishwin
Fixes: 2964804ef9
("librt: unbreak LIB32 build")
27 lines
423 B
Makefile
27 lines
423 B
Makefile
SHLIBDIR?=/lib
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=clibs
|
|
LIB=rt
|
|
SHLIB_MAJOR= 1
|
|
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
|
|
.ifndef NO_THREAD_STACK_UNWIND
|
|
CFLAGS+=-fexceptions
|
|
.endif
|
|
CFLAGS+=-Wall
|
|
LIBADD= pthread
|
|
|
|
WARNS?= 2
|
|
|
|
SRCS+= aio.c mq.c sigev_thread.c timer.c
|
|
|
|
PRECIOUSLIB=
|
|
|
|
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
|
|
SYMBOL_MAPS=${.CURDIR}/Symbol.map
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.lib.mk>
|