diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-25 11:07:26 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-25 11:07:26 +0000 |
commit | 6adce30d288e6c89f9247b8bced6dc1382b72c8f (patch) | |
tree | 9490af12e8dfdddce4107ac3a4cefe6c56ba0614 /lib/librt | |
parent | 1578ed600d5f0f7553eff58b014cf5f74141ebcd (diff) | |
download | FreeBSD-src-6adce30d288e6c89f9247b8bced6dc1382b72c8f.zip FreeBSD-src-6adce30d288e6c89f9247b8bced6dc1382b72c8f.tar.gz |
Convert libraries to use LIBADD
While here reduce a bit overlinking
Diffstat (limited to 'lib/librt')
-rw-r--r-- | lib/librt/Makefile | 3 | ||||
-rw-r--r-- | lib/librt/tests/Makefile | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/librt/Makefile b/lib/librt/Makefile index bd6ec07..3629610 100644 --- a/lib/librt/Makefile +++ b/lib/librt/Makefile @@ -9,8 +9,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} CFLAGS+=-fexceptions .endif CFLAGS+=-Winline -Wall -DPADD= ${LIBPTHREAD} -LDADD= -lpthread +LIBADD= pthread WARNS?= 2 diff --git a/lib/librt/tests/Makefile b/lib/librt/tests/Makefile index 224f52e..95c5259 100644 --- a/lib/librt/tests/Makefile +++ b/lib/librt/tests/Makefile @@ -6,8 +6,7 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/librt TESTSDIR= ${TESTSBASE}/lib/librt -DPADD+= ${LIBRT} -LDADD+= -lrt +LIBADD= rt NETBSD_ATF_TESTS_C= sched_test NETBSD_ATF_TESTS_C+= sem_test |